mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02: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:
@ -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.
|
||||
|
Reference in New Issue
Block a user