Title: [98282] trunk/Source
- Revision
- 98282
- Author
- [email protected]
- Date
- 2011-10-24 14:19:24 -0700 (Mon, 24 Oct 2011)
Log Message
[chromium] Add isTraceEventEnabled to PlatformSupport.
https://bugs.webkit.org/show_bug.cgi?id=70618
Reviewed by Darin Fisher.
Source/WebCore:
* platform/chromium/PlatformSupport.h:
Source/WebKit/chromium:
* public/WebKitPlatformSupport.h:
(WebKit::WebKitPlatformSupport::isTraceEventEnabled):
* src/PlatformSupport.cpp:
(WebCore::PlatformSupport::isTraceEventEnabled):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (98281 => 98282)
--- trunk/Source/WebCore/ChangeLog 2011-10-24 21:01:24 UTC (rev 98281)
+++ trunk/Source/WebCore/ChangeLog 2011-10-24 21:19:24 UTC (rev 98282)
@@ -1,3 +1,12 @@
+2011-10-21 Nat Duca <[email protected]>
+
+ [chromium] Add isTraceEventEnabled to PlatformSupport.
+ https://bugs.webkit.org/show_bug.cgi?id=70618
+
+ Reviewed by Darin Fisher.
+
+ * platform/chromium/PlatformSupport.h:
+
2011-10-24 Mihnea Ovidenie <[email protected]>
Use StringBuilder in CSSRuleList::rulesText()/CSSSelectorList::selectorsText()
Modified: trunk/Source/WebCore/platform/chromium/PlatformSupport.h (98281 => 98282)
--- trunk/Source/WebCore/platform/chromium/PlatformSupport.h 2011-10-24 21:01:24 UTC (rev 98281)
+++ trunk/Source/WebCore/platform/chromium/PlatformSupport.h 2011-10-24 21:19:24 UTC (rev 98282)
@@ -405,6 +405,7 @@
#endif
// Trace Event --------------------------------------------------------
+ static bool isTraceEventEnabled();
static void traceEventBegin(const char* name, void*, const char* extra);
static void traceEventEnd(const char* name, void*, const char* extra);
Modified: trunk/Source/WebKit/chromium/ChangeLog (98281 => 98282)
--- trunk/Source/WebKit/chromium/ChangeLog 2011-10-24 21:01:24 UTC (rev 98281)
+++ trunk/Source/WebKit/chromium/ChangeLog 2011-10-24 21:19:24 UTC (rev 98282)
@@ -1,3 +1,15 @@
+2011-10-21 Nat Duca <[email protected]>
+
+ [chromium] Add isTraceEventEnabled to PlatformSupport.
+ https://bugs.webkit.org/show_bug.cgi?id=70618
+
+ Reviewed by Darin Fisher.
+
+ * public/WebKitPlatformSupport.h:
+ (WebKit::WebKitPlatformSupport::isTraceEventEnabled):
+ * src/PlatformSupport.cpp:
+ (WebCore::PlatformSupport::isTraceEventEnabled):
+
2011-10-24 Joshua Bell <[email protected]>
IndexedDB: Throw DATA_ERR on invalid keys, remove null key support
Modified: trunk/Source/WebKit/chromium/public/WebKitPlatformSupport.h (98281 => 98282)
--- trunk/Source/WebKit/chromium/public/WebKitPlatformSupport.h 2011-10-24 21:01:24 UTC (rev 98281)
+++ trunk/Source/WebKit/chromium/public/WebKitPlatformSupport.h 2011-10-24 21:19:24 UTC (rev 98282)
@@ -230,6 +230,7 @@
// An event is identified by the pair (name, id). The extra parameter
// specifies additional data to log with the event.
+ virtual bool isTraceEventEnabled() const { return true; }
virtual void traceEventBegin(const char* name, void* id, const char* extra) { }
virtual void traceEventEnd(const char* name, void* id, const char* extra) { }
Modified: trunk/Source/WebKit/chromium/src/PlatformSupport.cpp (98281 => 98282)
--- trunk/Source/WebKit/chromium/src/PlatformSupport.cpp 2011-10-24 21:01:24 UTC (rev 98281)
+++ trunk/Source/WebKit/chromium/src/PlatformSupport.cpp 2011-10-24 21:19:24 UTC (rev 98282)
@@ -935,6 +935,11 @@
// Trace Event ----------------------------------------------------------------
+bool PlatformSupport::isTraceEventEnabled()
+{
+ return webKitPlatformSupport()->isTraceEventEnabled();
+}
+
void PlatformSupport::traceEventBegin(const char* name, void* id, const char* extra)
{
webKitPlatformSupport()->traceEventBegin(name, id, extra);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes