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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 273113004: Make CompositorImpl::CompositeAndReadback fail and return false. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compositor-impl-cnr-false: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 2e8e8825d31f4c3f7804e9d1fc078e0362ac75a6..e246d9a7b0f9fa7aa8e8c960def30a3cf8a6aa10 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -368,10 +368,7 @@ void CompositorImpl::SetHasTransparentBackground(bool flag) {
}
bool CompositorImpl::CompositeAndReadback(void *pixels, const gfx::Rect& rect) {
- if (host_)
- return host_->CompositeAndReadback(pixels, rect);
- else
- return false;
+ return false;
}
cc::UIResourceId CompositorImpl::GenerateUIResourceFromUIResourceBitmap(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698