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

Unified Diff: Source/core/html/canvas/HitRegion.cpp

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mike's comments Created 6 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 | « Source/core/html/canvas/HitRegion.h ('k') | Source/core/html/canvas/WebGLContextGroup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/HitRegion.cpp
diff --git a/Source/core/html/canvas/HitRegion.cpp b/Source/core/html/canvas/HitRegion.cpp
index 3c78dbfe5ef30d6fa6d5ae0e49a6d6bd16175152..5de075cd5db3528d8526db95fc9af9c12dbede26 100644
--- a/Source/core/html/canvas/HitRegion.cpp
+++ b/Source/core/html/canvas/HitRegion.cpp
@@ -134,7 +134,7 @@ HitRegion* HitRegionManager::getHitRegionByControl(Element* control) const
if (control)
return m_hitRegionControlMap.get(control);
- return 0;
+ return nullptr;
}
HitRegion* HitRegionManager::getHitRegionAtPoint(const LayoutPoint& point) const
@@ -147,7 +147,7 @@ HitRegion* HitRegionManager::getHitRegionAtPoint(const LayoutPoint& point) const
return hitRegion.get();
}
- return 0;
+ return nullptr;
}
unsigned HitRegionManager::getHitRegionsCount() const
« no previous file with comments | « Source/core/html/canvas/HitRegion.h ('k') | Source/core/html/canvas/WebGLContextGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698