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

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

Issue 915343002: Removing unused hasValidImageBuffer and activeSelectionStartListIndex (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/html/HTMLCanvasElement.h ('k') | Source/core/html/HTMLSelectElement.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 a4dcc991917028029c9db75fa8c1f25d658ebfdc..2977326c8df75635b7dbf2e29ab0e7ccee58b5ec 100644
--- a/Source/core/html/HTMLCanvasElement.cpp
+++ b/Source/core/html/HTMLCanvasElement.cpp
@@ -785,11 +785,6 @@ void HTMLCanvasElement::discardImageBuffer()
updateExternallyAllocatedMemory();
}
-bool HTMLCanvasElement::hasValidImageBuffer() const
-{
- return m_imageBuffer && m_imageBuffer->isSurfaceValid();
-}
-
void HTMLCanvasElement::clearCopiedImage()
{
if (m_copiedImage) {
« no previous file with comments | « Source/core/html/HTMLCanvasElement.h ('k') | Source/core/html/HTMLSelectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698