Title: [112970] trunk/Source
- Revision
- 112970
- Author
- [email protected]
- Date
- 2012-04-02 18:16:05 -0700 (Mon, 02 Apr 2012)
Log Message
Call decrementStatsCounter directly
https://bugs.webkit.org/show_bug.cgi?id=82950
Patch by Mark Pilgrim <[email protected]> on 2012-04-02
Reviewed by Adam Barth.
Source/WebCore:
* platform/chromium/PlatformSupport.h:
(PlatformSupport):
Source/WebKit/chromium:
* src/PlatformSupport.cpp:
(WebCore):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::~WebFrameImpl):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (112969 => 112970)
--- trunk/Source/WebCore/ChangeLog 2012-04-03 00:25:34 UTC (rev 112969)
+++ trunk/Source/WebCore/ChangeLog 2012-04-03 01:16:05 UTC (rev 112970)
@@ -1,3 +1,13 @@
+2012-04-02 Mark Pilgrim <[email protected]>
+
+ Call decrementStatsCounter directly
+ https://bugs.webkit.org/show_bug.cgi?id=82950
+
+ Reviewed by Adam Barth.
+
+ * platform/chromium/PlatformSupport.h:
+ (PlatformSupport):
+
2012-04-02 Tony Chang <[email protected]>
add css parsing of -webkit-flex
Modified: trunk/Source/WebCore/platform/chromium/PlatformSupport.h (112969 => 112970)
--- trunk/Source/WebCore/platform/chromium/PlatformSupport.h 2012-04-03 00:25:34 UTC (rev 112969)
+++ trunk/Source/WebCore/platform/chromium/PlatformSupport.h 2012-04-03 01:16:05 UTC (rev 112970)
@@ -260,7 +260,6 @@
static void stopSharedTimer();
// StatsCounters ------------------------------------------------------
- static void decrementStatsCounter(const char* name);
static void incrementStatsCounter(const char* name);
static void histogramCustomCounts(const char* name, int sample, int min, int max, int bucketCount);
static void histogramEnumeration(const char* name, int sample, int boundaryValue);
Modified: trunk/Source/WebKit/chromium/ChangeLog (112969 => 112970)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-04-03 00:25:34 UTC (rev 112969)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-04-03 01:16:05 UTC (rev 112970)
@@ -1,3 +1,15 @@
+2012-04-02 Mark Pilgrim <[email protected]>
+
+ Call decrementStatsCounter directly
+ https://bugs.webkit.org/show_bug.cgi?id=82950
+
+ Reviewed by Adam Barth.
+
+ * src/PlatformSupport.cpp:
+ (WebCore):
+ * src/WebFrameImpl.cpp:
+ (WebKit::WebFrameImpl::~WebFrameImpl):
+
2012-04-02 Alexander Pavlov <[email protected]>
[Chromium] Unreviewed, CCLayerTreeHost runMultiThread is flaky.
Modified: trunk/Source/WebKit/chromium/src/PlatformSupport.cpp (112969 => 112970)
--- trunk/Source/WebKit/chromium/src/PlatformSupport.cpp 2012-04-03 00:25:34 UTC (rev 112969)
+++ trunk/Source/WebKit/chromium/src/PlatformSupport.cpp 2012-04-03 01:16:05 UTC (rev 112970)
@@ -713,11 +713,6 @@
// StatsCounters --------------------------------------------------------------
-void PlatformSupport::decrementStatsCounter(const char* name)
-{
- webKitPlatformSupport()->decrementStatsCounter(name);
-}
-
void PlatformSupport::incrementStatsCounter(const char* name)
{
webKitPlatformSupport()->incrementStatsCounter(name);
Modified: trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp (112969 => 112970)
--- trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp 2012-04-03 00:25:34 UTC (rev 112969)
+++ trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp 2012-04-03 01:16:05 UTC (rev 112970)
@@ -109,7 +109,6 @@
#include "Node.h"
#include "Page.h"
#include "PageOverlay.h"
-#include "painting/GraphicsContextBuilder.h"
#include "Performance.h"
#include "PlatformSupport.h"
#include "PluginDocument.h"
@@ -154,19 +153,21 @@
#include "WebPerformance.h"
#include "WebPlugin.h"
#include "WebPluginContainerImpl.h"
-#include "platform/WebPoint.h"
#include "WebRange.h"
-#include "platform/WebRect.h"
#include "WebScriptSource.h"
#include "WebSecurityOrigin.h"
+#include "WebViewImpl.h"
+#include "XPathResult.h"
+#include "markup.h"
+#include "painting/GraphicsContextBuilder.h"
+#include "platform/WebPoint.h"
+#include "platform/WebRect.h"
#include "platform/WebSize.h"
#include "platform/WebURLError.h"
#include "platform/WebVector.h"
-#include "WebViewImpl.h"
-#include "XPathResult.h"
-#include "markup.h"
#include <algorithm>
+#include <public/Platform.h>
#include <wtf/CurrentTime.h>
#if USE(V8)
@@ -1981,7 +1982,7 @@
WebFrameImpl::~WebFrameImpl()
{
- PlatformSupport::decrementStatsCounter(webFrameActiveCount);
+ WebKit::Platform::current()->decrementStatsCounter(webFrameActiveCount);
frameCount--;
cancelPendingScopingEffort();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes