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

Unified Diff: Source/core/html/HTMLCanvasElement.cpp

Issue 14386007: Remove some orphaned USE macros. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Change updated after James' suggestion Created 7 years, 8 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/core/editing/Editor.cpp ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCanvasElement.cpp
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
index 0bbefb7132038931f62c17e0fbc5c1dc773dc6cf..6b186558c9434d1b61b4a2eb4198828af3973ba2 100644
--- a/Source/core/html/HTMLCanvasElement.cpp
+++ b/Source/core/html/HTMLCanvasElement.cpp
@@ -300,10 +300,6 @@ float HTMLCanvasElement::targetDeviceScaleFactor() const
bool HTMLCanvasElement::paintsIntoCanvasBuffer() const
{
ASSERT(m_context);
-#if USE(IOSURFACE_CANVAS_BACKING_STORE)
- if (m_context->is2d())
- return true;
-#endif
if (!m_context->isAccelerated())
return true;
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698