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

Unified Diff: Source/core/html/canvas/WebGLRenderingContext.h

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 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/html/canvas/WebGLProgram.cpp ('k') | Source/core/html/canvas/WebGLRenderingContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLRenderingContext.h
diff --git a/Source/core/html/canvas/WebGLRenderingContext.h b/Source/core/html/canvas/WebGLRenderingContext.h
index b49c64844d99b6a49e0893acb3cb8a20283a4ac3..f2c75ea0168474a65ad501e1d2f9159cf20aa946 100644
--- a/Source/core/html/canvas/WebGLRenderingContext.h
+++ b/Source/core/html/canvas/WebGLRenderingContext.h
@@ -615,7 +615,7 @@ public:
{
if (m_extensionField) {
m_extensionField->lose(true);
- m_extensionField = 0;
+ m_extensionField = nullptr;
}
}
@@ -642,7 +642,7 @@ public:
if (m_extensionField) {
m_extensionField->lose(false);
if (m_extensionField->isLost())
- m_extensionField = 0;
+ m_extensionField = nullptr;
}
}
« no previous file with comments | « Source/core/html/canvas/WebGLProgram.cpp ('k') | Source/core/html/canvas/WebGLRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698