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

Unified Diff: content/renderer/render_view_impl.h

Issue 518693002: Fix a crash when saving a <canvas> or <img> image which is large. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index cd6ba6d20974bdb7d985891afed5a6a1e03bffe9..4e8c2f6a6fca47f3ee047ea949afdde39f5e43fd 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -378,6 +378,7 @@ class CONTENT_EXPORT RenderViewImpl
virtual bool enumerateChosenDirectory(
const blink::WebString& path,
blink::WebFileChooserCompletion* chooser_completion);
+ virtual void saveImageFromDataURL(const blink::WebString& data_url);
virtual void didCancelCompositionOnSelectionChange();
virtual bool handleCurrentKeyboardEvent();
virtual bool runFileChooser(

Powered by Google App Engine
This is Rietveld 408576698