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

Side by Side Diff: android_webview/native/java_browser_view_renderer_helper.cc

Issue 2202783002: android_webview: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
Patch Set: android_webview: Remove unneeded RegisterNatives() calls Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/native/java_browser_view_renderer_helper.h" 5 #include "android_webview/native/java_browser_view_renderer_helper.h"
6 6
7 #include <android/bitmap.h> 7 #include <android/bitmap.h>
8 8
9 #include "android_webview/public/browser/draw_sw.h" 9 #include "android_webview/public/browser/draw_sw.h"
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 holder.reset(); 162 holder.reset();
163 holder.reset(new AuxiliaryCanvasHolder(env, java_canvas, scroll_correction, 163 holder.reset(new AuxiliaryCanvasHolder(env, java_canvas, scroll_correction,
164 auxiliary_bitmap_size)); 164 auxiliary_bitmap_size));
165 } 165 }
166 if (!holder->GetCanvas()) { 166 if (!holder->GetCanvas()) {
167 holder.reset(); 167 holder.reset();
168 } 168 }
169 return holder; 169 return holder;
170 } 170 }
171 171
172 bool RegisterJavaBrowserViewRendererHelper(JNIEnv* env) {
173 return RegisterNativesImpl(env);
174 }
175
176 } // namespace android_webview 172 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/java_browser_view_renderer_helper.h ('k') | android_webview/native/webview_native.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698