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

Unified Diff: trunk/Source/core/html/canvas/CanvasRenderingContext2D.cpp

Issue 381113003: Revert 177827 "WebGL: Free temporary GPU resources held by inact..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 5 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
Index: trunk/Source/core/html/canvas/CanvasRenderingContext2D.cpp
===================================================================
--- trunk/Source/core/html/canvas/CanvasRenderingContext2D.cpp (revision 177853)
+++ trunk/Source/core/html/canvas/CanvasRenderingContext2D.cpp (working copy)
@@ -2266,13 +2266,6 @@
return 0;
}
-void CanvasRenderingContext2D::setIsHidden(bool hidden)
-{
- ImageBuffer* buffer = canvas()->buffer();
- if (buffer)
- buffer->setIsHidden(hidden);
-}
-
blink::WebLayer* CanvasRenderingContext2D::platformLayer() const
{
return canvas()->buffer() ? canvas()->buffer()->platformLayer() : 0;
« no previous file with comments | « trunk/Source/core/html/canvas/CanvasRenderingContext2D.h ('k') | trunk/Source/core/html/canvas/WebGLRenderingContextBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698