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

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

Issue 309933004: Fix imageSourceURL() for WebGL elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « ManualTests/webgl-save-image-as.html ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCanvasElement.h
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
index 62df34c7a8870af8666abcafec868d6800435352..74476f98fc2afaeae271fdd7048afd0cd8ef9d02 100644
--- a/Source/core/html/HTMLCanvasElement.h
+++ b/Source/core/html/HTMLCanvasElement.h
@@ -176,7 +176,7 @@ private:
void updateExternallyAllocatedMemory() const;
- String toDataURLInternal(const String& mimeType, const double* quality) const;
+ String toDataURLInternal(const String& mimeType, const double* quality, bool isSaving = false) const;
WillBeHeapHashSet<RawPtrWillBeWeakMember<CanvasObserver> > m_observers;
« no previous file with comments | « ManualTests/webgl-save-image-as.html ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698