Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / shadow / MediaControlElementTypes.cpp
index 78f1a2c..ae225d6 100644 (file)
@@ -48,12 +48,12 @@ class Event;
 HTMLMediaElement* toParentMediaElement(Node* node)
 {
     if (!node)
-        return 0;
+        return nullptr;
     Node* mediaNode = node->shadowHost();
     if (!mediaNode)
-        return 0;
+        return nullptr;
     if (!isHTMLMediaElement(mediaNode))
-        return 0;
+        return nullptr;
 
     return toHTMLMediaElement(mediaNode);
 }
@@ -96,7 +96,7 @@ void MediaControlElement::setDisplayType(MediaControlElementType displayType)
 
     m_displayType = displayType;
     if (RenderObject* object = m_element->renderer())
-        object->setShouldDoFullPaintInvalidation(true);
+        object->setShouldDoFullPaintInvalidation();
 }
 
 void MediaControlElement::trace(Visitor* visitor)