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

Unified Diff: athena/content/web_activity.cc

Issue 591693002: Creating PNG images from web content to be used by OverviewMode navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: athena/content/web_activity.cc
diff --git a/athena/content/web_activity.cc b/athena/content/web_activity.cc
index 580fb7dc9a116556370cb4e756f1d41abaadd22e..55ba868aa607089670008f05f06607b4ba8eb6b5 100644
--- a/athena/content/web_activity.cc
+++ b/athena/content/web_activity.cc
@@ -494,10 +494,10 @@ views::Widget* WebActivity::CreateWidget() {
return NULL; // Use default widget.
}
-gfx::ImageSkia WebActivity::GetOverviewModeImage() {
+scoped_ptr<gfx::Image> WebActivity::GetOverviewModeImage() {
if (content_proxy_.get())
content_proxy_->GetContentImage();
- return gfx::ImageSkia();
+ return scoped_ptr<gfx::Image>(new gfx::Image());
}
void WebActivity::PrepareContentsForOverview() {

Powered by Google App Engine
This is Rietveld 408576698