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

Unified Diff: content/browser/compositor/delegated_frame_host.cc

Issue 634113002: Use solid color layer for delegated surface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/browser/compositor/delegated_frame_host.cc
diff --git a/content/browser/compositor/delegated_frame_host.cc b/content/browser/compositor/delegated_frame_host.cc
index 9df46002395921e22d667487612d5f1c180bbf8a..720695102b0abf0eb8e1ba1ebed3386e4840a7f6 100644
--- a/content/browser/compositor/delegated_frame_host.cc
+++ b/content/browser/compositor/delegated_frame_host.cc
@@ -513,7 +513,7 @@ void DelegatedFrameHost::ReturnResources(
}
void DelegatedFrameHost::EvictDelegatedFrame() {
- client_->GetLayer()->SetShowPaintedContent();
+ client_->GetLayer()->SetShowSolidColorContent();
frame_provider_ = NULL;
if (!surface_id_.is_null()) {
surface_factory_->Destroy(surface_id_);

Powered by Google App Engine
This is Rietveld 408576698