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

Unified Diff: android_webview/native/aw_picture.cc

Issue 1145273003: aw: Force auxiliary bitmap on android emulators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « android_webview/native/aw_contents.cc ('k') | android_webview/native/java_browser_view_renderer_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_picture.cc
diff --git a/android_webview/native/aw_picture.cc b/android_webview/native/aw_picture.cc
index 348e1a0aefe1e2fce37cd01cd8162f5e2268926e..a46be2caf534ed745f02698bb1c60a67c50c7133 100644
--- a/android_webview/native/aw_picture.cc
+++ b/android_webview/native/aw_picture.cc
@@ -33,8 +33,8 @@ jint AwPicture::GetHeight(JNIEnv* env, jobject obj) {
void AwPicture::Draw(JNIEnv* env, jobject obj, jobject canvas) {
const SkIRect bounds = picture_->cullRect().roundOut();
scoped_ptr<SoftwareCanvasHolder> canvas_holder = SoftwareCanvasHolder::Create(
- canvas, gfx::Vector2d(),
- gfx::Size(bounds.width(), bounds.height()));
+ canvas, gfx::Vector2d(), gfx::Size(bounds.width(), bounds.height()),
+ false);
if (!canvas_holder || !canvas_holder->GetCanvas()) {
LOG(ERROR) << "Couldn't draw picture";
return;
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | android_webview/native/java_browser_view_renderer_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698