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

Unified Diff: android_webview/native/aw_contents.cc

Issue 337473004: aw: Use comparison DCHECKs where appropriate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/lib/main/aw_main_delegate.cc ('k') | android_webview/native/aw_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index de623394f34c290f99592e12b108b5b4a6c71471..ed5e4da20df6e44c4acf434f4e5b17b25ebf3025 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -267,7 +267,7 @@ void AwContents::SetAwAutofillClient(jobject client) {
}
AwContents::~AwContents() {
- DCHECK(AwContents::FromWebContents(web_contents_.get()) == this);
+ DCHECK_EQ(this, AwContents::FromWebContents(web_contents_.get()));
DCHECK(!hardware_renderer_.get());
web_contents_->RemoveUserData(kAwContentsUserDataKey);
if (find_helper_.get())
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | android_webview/native/aw_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698