Index: Source/core/dom/Position.cpp |
diff --git a/Source/core/dom/Position.cpp b/Source/core/dom/Position.cpp |
index 91832edc39b792473d96ebd2990dda61b96dbd7f..284dc4c91eb6751e12aadf0b7191ae16cae84252 100644 |
--- a/Source/core/dom/Position.cpp |
+++ b/Source/core/dom/Position.cpp |
@@ -288,7 +288,7 @@ PassRefPtr<CSSComputedStyleDeclaration> Position::computedStyle() const |
{ |
Element* elem = element(); |
if (!elem) |
- return 0; |
+ return nullptr; |
return CSSComputedStyleDeclaration::create(elem); |
} |