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

Unified Diff: Source/core/layout/ImageQualityController.cpp

Issue 1162383003: C++11: Replace 0 with nullptr where applicable in layout code. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add one more file. Created 5 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 | « Source/core/layout/HitTestResult.cpp ('k') | Source/core/layout/LayoutBR.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/ImageQualityController.cpp
diff --git a/Source/core/layout/ImageQualityController.cpp b/Source/core/layout/ImageQualityController.cpp
index 41cf5bd7087d228a5e10ad0b33b1a6937cdcad24..7795bd090c6f84596cce55ec2e01a4f71539326e 100644
--- a/Source/core/layout/ImageQualityController.cpp
+++ b/Source/core/layout/ImageQualityController.cpp
@@ -39,7 +39,7 @@ namespace blink {
static const double cLowQualityTimeThreshold = 0.500; // 500 ms
-static ImageQualityController* gImageQualityController = 0;
+static ImageQualityController* gImageQualityController = nullptr;
ImageQualityController* ImageQualityController::imageQualityController()
{
@@ -55,7 +55,7 @@ void ImageQualityController::remove(LayoutObject* layoutObject)
gImageQualityController->objectDestroyed(layoutObject);
if (gImageQualityController->isEmpty()) {
delete gImageQualityController;
- gImageQualityController = 0;
+ gImageQualityController = nullptr;
}
}
}
« no previous file with comments | « Source/core/layout/HitTestResult.cpp ('k') | Source/core/layout/LayoutBR.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698