Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
index f208f37cd8c8b58d3b37059210374440d256c221..702e2de050ac7578158888f4d5032c5ffdea80c3 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
@@ -169,6 +169,7 @@ public: |
static void registerRenderingContextFactory(PassOwnPtr<CanvasRenderingContextFactory>); |
void updateExternallyAllocatedMemory() const; |
+ static void updateTotalMemoryForAcceleratedCanvases(intptr_t diffFromCurrAllocatedMemory); |
void styleDidChange(const ComputedStyle* oldStyle, const ComputedStyle& newStyle); |
@@ -209,6 +210,7 @@ private: |
FloatRect m_dirtyRect; |
mutable intptr_t m_externallyAllocatedMemory; |
+ static intptr_t s_totalMemoryForAcceleratedCanvases; |
bool m_originClean; |