Index: webkit/glue/webkitplatformsupport_impl.cc |
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc |
index 811fc5a735c378dbea27a096896589bab28d23bd..4af812e9383a9c1070f8ebc8184d95e0389b145f 100644 |
--- a/webkit/glue/webkitplatformsupport_impl.cc |
+++ b/webkit/glue/webkitplatformsupport_impl.cc |
@@ -292,7 +292,7 @@ void WebKitPlatformSupportImpl::histogramEnumeration( |
} |
bool WebKitPlatformSupportImpl::isTraceEventEnabled() const { |
- return base::debug::TraceLog::GetCategory("webkit")->enabled; |
+ return !!*base::debug::TraceLog::GetCategoryEnabled("webkit"); |
} |
void WebKitPlatformSupportImpl::traceEventBegin(const char* name, void* id, |