Commit cf9cde6b authored by glider@chromium.org's avatar glider@chromium.org

Removed the redundant !this check (fix Clang's -Wundefined-bool-conversion warning)

BUG=381910
R=jochen@chromium.org

Review URL: https://codereview.chromium.org/339173002

git-svn-id: svn://svn.chromium.org/blink/trunk@176322 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 7ae04f2f
......@@ -428,7 +428,7 @@ void HTMLElement::setOuterText(const String &text, ExceptionState& exceptionStat
newChild = Text::create(document(), text);
// textToFragment might cause mutation events.
if (!this || !parentNode())
if (!parentNode())
exceptionState.throwDOMException(HierarchyRequestError, "The element has no parent.");
if (exceptionState.hadException())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment