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

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

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use nullptr 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
Index: Source/core/html/canvas/WebGLObject.cpp
diff --git a/Source/core/html/canvas/WebGLObject.cpp b/Source/core/html/canvas/WebGLObject.cpp
index 802a4ad3ff189e641eca85554c0fd8bb0c1cf36c..feead3f778f9a7d415d310a8c06bfaddfb90a8f3 100644
--- a/Source/core/html/canvas/WebGLObject.cpp
+++ b/Source/core/html/canvas/WebGLObject.cpp
@@ -89,7 +89,7 @@ void WebGLObject::detachAndDeleteObject()
// destructors will always call detachAndDeleteObject() rather
// than do it based on Oilpan being enabled.
detach();
- deleteObject(0);
+ deleteObject(nullptr);
}
void WebGLObject::onDetached(blink::WebGraphicsContext3D* context3d)

Powered by Google App Engine
This is Rietveld 408576698