mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-23 15:37:51 +01:00
Disable stats, histogram and event tracing to avoid memory leaks (issue #328).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@402 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
47217b00d4
commit
de192555cc
@ -149,6 +149,33 @@ BrowserWebKitInit::createMessagePortChannel() {
|
||||
void BrowserWebKitInit::prefetchHostName(const WebKit::WebString&) {
|
||||
}
|
||||
|
||||
void BrowserWebKitInit::decrementStatsCounter(const char* name) {
|
||||
}
|
||||
|
||||
void BrowserWebKitInit::incrementStatsCounter(const char* name) {
|
||||
}
|
||||
|
||||
void BrowserWebKitInit::histogramCustomCounts(const char* name, int sample,
|
||||
int min, int max,
|
||||
int bucket_count) {
|
||||
}
|
||||
|
||||
void BrowserWebKitInit::histogramEnumeration(const char* name, int sample,
|
||||
int boundary_value) {
|
||||
}
|
||||
|
||||
bool BrowserWebKitInit::isTraceEventEnabled() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
void BrowserWebKitInit::traceEventBegin(const char* name, void* id,
|
||||
const char* extra) {
|
||||
}
|
||||
|
||||
void BrowserWebKitInit::traceEventEnd(const char* name, void* id,
|
||||
const char* extra) {
|
||||
}
|
||||
|
||||
WebKit::WebData BrowserWebKitInit::loadResource(const char* name) {
|
||||
if (!strcmp(name, "deleteButton")) {
|
||||
// Create a red 30x30 square.
|
||||
|
@ -47,6 +47,17 @@ class BrowserWebKitInit : public webkit_glue::WebKitPlatformSupportImpl {
|
||||
virtual bool isLinkVisited(unsigned long long linkHash) OVERRIDE;
|
||||
virtual WebKit::WebMessagePortChannel* createMessagePortChannel() OVERRIDE;
|
||||
virtual void prefetchHostName(const WebKit::WebString&) OVERRIDE;
|
||||
virtual void decrementStatsCounter(const char* name) OVERRIDE;
|
||||
virtual void incrementStatsCounter(const char* name) OVERRIDE;
|
||||
virtual void histogramCustomCounts(const char* name, int sample, int min,
|
||||
int max, int bucket_count) OVERRIDE;
|
||||
virtual void histogramEnumeration(const char* name, int sample,
|
||||
int boundary_value) OVERRIDE;
|
||||
virtual bool isTraceEventEnabled() const OVERRIDE;
|
||||
virtual void traceEventBegin(const char* name, void* id,
|
||||
const char* extra) OVERRIDE;
|
||||
virtual void traceEventEnd(const char* name, void* id,
|
||||
const char* extra) OVERRIDE;
|
||||
virtual WebKit::WebData loadResource(const char* name) OVERRIDE;
|
||||
virtual WebKit::WebString defaultLocale() OVERRIDE;
|
||||
virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
|
||||
|
Loading…
x
Reference in New Issue
Block a user