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

Unified Diff: content/browser/accessibility/android_hit_testing_browsertest.cc

Issue 642313003: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Including id in the AUTHORS file. Created 6 years, 2 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
Index: content/browser/accessibility/android_hit_testing_browsertest.cc
diff --git a/content/browser/accessibility/android_hit_testing_browsertest.cc b/content/browser/accessibility/android_hit_testing_browsertest.cc
index 4416aada8e7d7a8a3d39a47feb3e2b57f021c703..1b9fbe91e3c051555de5f8f2c2e0eaf27adb81e3 100644
--- a/content/browser/accessibility/android_hit_testing_browsertest.cc
+++ b/content/browser/accessibility/android_hit_testing_browsertest.cc
@@ -73,7 +73,7 @@ IN_PROC_BROWSER_TEST_F(AndroidHitTestingBrowserTest,
// Assert that the hover event was fired on the root of the tree.
int hover_target_id = hover_waiter.event_target_id();
BrowserAccessibility* hovered_node = manager->GetFromID(hover_target_id);
- ASSERT_TRUE(hovered_node != NULL);
+ ASSERT_TRUE(hovered_node != nullptr);
ASSERT_EQ(ui::AX_ROLE_ROOT_WEB_AREA, hovered_node->GetRole());
}

Powered by Google App Engine
This is Rietveld 408576698