Index: Source/core/html/HTMLPlugInElement.cpp |
diff --git a/Source/core/html/HTMLPlugInElement.cpp b/Source/core/html/HTMLPlugInElement.cpp |
index ce19b32e0625727f92bd57b8c2ff75dc4208f123..5f5dd4f0eeab0b089444ad2e45ad77b2df31c1d0 100644 |
--- a/Source/core/html/HTMLPlugInElement.cpp |
+++ b/Source/core/html/HTMLPlugInElement.cpp |
@@ -299,7 +299,7 @@ SharedPersistent<v8::Object>* HTMLPlugInElement::pluginWrapper() |
{ |
LocalFrame* frame = document().frame(); |
if (!frame) |
- return 0; |
+ return nullptr; |
// If the host dynamically turns off JavaScript (or Java) we will still |
// return the cached allocated Bindings::Instance. Not supporting this |
@@ -322,7 +322,7 @@ Widget* HTMLPlugInElement::pluginWidget() const |
{ |
if (RenderPart* renderPart = renderPartForJSBindings()) |
return renderPart->widget(); |
- return 0; |
+ return nullptr; |
} |
bool HTMLPlugInElement::isPresentationAttribute(const QualifiedName& name) const |
@@ -441,7 +441,7 @@ RenderEmbeddedObject* HTMLPlugInElement::renderEmbeddedObject() const |
// HTMLObjectElement and HTMLEmbedElement may return arbitrary renderers |
// when using fallback content. |
if (!renderer() || !renderer()->isEmbeddedObject()) |
- return 0; |
+ return nullptr; |
return toRenderEmbeddedObject(renderer()); |
} |