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: ui/snapshot/screenshot_grabber.h

Issue 2592983002: [devtools] Support different encodings for Page.CaptureScreenshot. (Closed)
Patch Set: Disabled test on MacOS >=10.11, added ref to bug. Created 3 years, 11 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 | « ui/snapshot/BUILD.gn ('k') | ui/snapshot/screenshot_grabber.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/screenshot_grabber.h
diff --git a/ui/snapshot/screenshot_grabber.h b/ui/snapshot/screenshot_grabber.h
index 555f863d870ba2042d1d2e044583591a7ed14966..7a0a9473f2efe1ffb0eff9792202103a445410f2 100644
--- a/ui/snapshot/screenshot_grabber.h
+++ b/ui/snapshot/screenshot_grabber.h
@@ -84,7 +84,7 @@ class SNAPSHOT_EXPORT ScreenshotGrabber {
const std::string& window_identifier,
base::FilePath screenshot_path,
bool is_partial,
- scoped_refptr<base::RefCountedBytes> png_data);
+ scoped_refptr<base::RefCountedMemory> png_data);
// A weak pointer to the screenshot taker client.
ScreenshotGrabberDelegate* client_;
« no previous file with comments | « ui/snapshot/BUILD.gn ('k') | ui/snapshot/screenshot_grabber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698