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

Unified Diff: android_webview/native/popup_touch_handle_drawable.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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_io_thread_client_impl.cc ('k') | ash/aura/wm_window_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/popup_touch_handle_drawable.cc
diff --git a/android_webview/native/popup_touch_handle_drawable.cc b/android_webview/native/popup_touch_handle_drawable.cc
index d46122cc8e0ab2ab48e4a0ff0ea80a5134ecf82a..0ba52f1b45a6b85ba8542bd18cd8dad57da375ac 100644
--- a/android_webview/native/popup_touch_handle_drawable.cc
+++ b/android_webview/native/popup_touch_handle_drawable.cc
@@ -17,7 +17,7 @@ PopupTouchHandleDrawable::PopupTouchHandleDrawable(
float horizontal_padding_ratio)
: java_ref_(env, obj)
, drawable_horizontal_padding_ratio_(horizontal_padding_ratio) {
- DCHECK(!java_ref_.is_empty());
+ DCHECK(obj);
}
PopupTouchHandleDrawable::~PopupTouchHandleDrawable() {
« no previous file with comments | « android_webview/native/aw_contents_io_thread_client_impl.cc ('k') | ash/aura/wm_window_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698