summaryrefslogtreecommitdiffstats
path: root/android_webview/native
diff options
context:
space:
mode:
Diffstat (limited to 'android_webview/native')
-rw-r--r--android_webview/native/java_browser_view_renderer_helper.cc9
-rw-r--r--android_webview/native/java_browser_view_renderer_helper.h3
2 files changed, 4 insertions, 8 deletions
diff --git a/android_webview/native/java_browser_view_renderer_helper.cc b/android_webview/native/java_browser_view_renderer_helper.cc
index 2cb984f..04278ad 100644
--- a/android_webview/native/java_browser_view_renderer_helper.cc
+++ b/android_webview/native/java_browser_view_renderer_helper.cc
@@ -21,13 +21,10 @@ JavaBrowserViewRendererHelper::~JavaBrowserViewRendererHelper() {
ScopedJavaLocalRef<jobject> JavaBrowserViewRendererHelper::CreateBitmap(
JNIEnv* env,
int width,
- int height,
- bool cache_result) {
- TRACE_EVENT1("android_webview", "RendererHelper::CreateBitmap",
- "cache_result", cache_result);
+ int height) {
+ TRACE_EVENT0("android_webview", "RendererHelper::CreateBitmap");
return width <= 0 || height <= 0 ? ScopedJavaLocalRef<jobject>() :
- Java_JavaBrowserViewRendererHelper_createBitmap(env, width, height,
- cache_result);
+ Java_JavaBrowserViewRendererHelper_createBitmap(env, width, height);
}
void JavaBrowserViewRendererHelper::DrawBitmapIntoCanvas(
diff --git a/android_webview/native/java_browser_view_renderer_helper.h b/android_webview/native/java_browser_view_renderer_helper.h
index 74c72e2..40732d0 100644
--- a/android_webview/native/java_browser_view_renderer_helper.h
+++ b/android_webview/native/java_browser_view_renderer_helper.h
@@ -22,8 +22,7 @@ class JavaBrowserViewRendererHelper : public BrowserViewRenderer::JavaHelper {
virtual base::android::ScopedJavaLocalRef<jobject> CreateBitmap(
JNIEnv* env,
int width,
- int height,
- bool cache_result) OVERRIDE;
+ int height) OVERRIDE;
virtual void DrawBitmapIntoCanvas(
JNIEnv* env,
const base::android::JavaRef<jobject>& jbitmap,