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

Unified Diff: android_webview/browser/parent_output_surface.cc

Issue 376683004: Pass resourceless software mode in BeginFrameArgs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment, clang-format Created 6 years, 5 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: android_webview/browser/parent_output_surface.cc
diff --git a/android_webview/browser/parent_output_surface.cc b/android_webview/browser/parent_output_surface.cc
index 0150eaa555598398cb56697c04c1038c877133c3..54b7f97f4e6eb12a921203cf834d7e16e19ad580 100644
--- a/android_webview/browser/parent_output_surface.cc
+++ b/android_webview/browser/parent_output_surface.cc
@@ -27,9 +27,10 @@ void ParentOutputSurface::SetDrawConstraints(const gfx::Size& surface_size,
const gfx::Rect& clip) {
DCHECK(client_);
surface_size_ = surface_size;
- gfx::Transform identity;
- gfx::Rect empty;
- SetExternalDrawConstraints(identity, empty, clip, true);
+ const gfx::Transform identity;
+ const gfx::Rect empty;
+ const bool resourceless_software_draw = false;
+ SetExternalDrawConstraints(identity, empty, clip, resourceless_software_draw);
}
} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698