Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: Source/platform/graphics/Canvas2DLayerManager.h

Issue 340093003: Added an assertion verifying that a Canvas2DLayerBridge is not deleted (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Formatting error corrected Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/Canvas2DLayerBridge.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/Canvas2DLayerManager.h
diff --git a/Source/platform/graphics/Canvas2DLayerManager.h b/Source/platform/graphics/Canvas2DLayerManager.h
index e1ed66e5def32a56b40437b23f55f534a9f796a7..231fc85b72bb6aaad68d0cabb37ef8e469ec5295 100644
--- a/Source/platform/graphics/Canvas2DLayerManager.h
+++ b/Source/platform/graphics/Canvas2DLayerManager.h
@@ -42,12 +42,12 @@ public:
void layerTransientResourceAllocationChanged(Canvas2DLayerBridge*, intptr_t deltaBytes = 0);
void layerDidDraw(Canvas2DLayerBridge*);
+ bool isInList(Canvas2DLayerBridge*) const;
private:
Canvas2DLayerManager();
// internal methods
void freeMemoryIfNecessary();
- bool isInList(Canvas2DLayerBridge*) const;
void addLayerToList(Canvas2DLayerBridge*);
void removeLayerFromList(Canvas2DLayerBridge*);
virtual void willProcessTask() OVERRIDE;
« no previous file with comments | « Source/platform/graphics/Canvas2DLayerBridge.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698