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

Unified Diff: android_webview/browser/test/fake_window.cc

Issue 944053004: OffscreenPreRaster and its plumbings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting Created 5 years, 10 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/test/fake_window.cc
diff --git a/android_webview/browser/test/fake_window.cc b/android_webview/browser/test/fake_window.cc
index 8b13213b1bfed86b85faae104f5f5c9ba543d237..41dfbc1d5f54b28d7a76dc5610f96a932a5be1b8 100644
--- a/android_webview/browser/test/fake_window.cc
+++ b/android_webview/browser/test/fake_window.cc
@@ -120,6 +120,7 @@ void FakeWindow::OnDrawHardware() {
on_draw_hardware_pending_ = false;
hooks_->WillOnDraw();
+ view_->PrepareToDraw(gfx::Vector2d(), gfx::Rect(0, 0, 50, 50));
boliu 2015/02/24 22:06:22 Use |location_|
hush (inactive) 2015/02/24 22:19:03 Done.
bool success = view_->OnDrawHardware();
hooks_->DidOnDraw(success);
if (success) {

Powered by Google App Engine
This is Rietveld 408576698