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

Unified Diff: Source/core/html/PluginDocument.cpp

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/MediaDocument.cpp ('k') | Source/core/html/RangeInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/PluginDocument.cpp
diff --git a/Source/core/html/PluginDocument.cpp b/Source/core/html/PluginDocument.cpp
index 8da02b67d01cfde6637e5f1a4482883f24463157..03db07b11b648546e7f55e03a20b7e72daa32716 100644
--- a/Source/core/html/PluginDocument.cpp
+++ b/Source/core/html/PluginDocument.cpp
@@ -71,7 +71,7 @@ private:
void PluginDocumentParser::createDocumentStructure()
{
RefPtr<Element> rootElement = document()->createElement(htmlTag, false);
- document()->appendChild(rootElement, IGNORE_EXCEPTION_STATE);
+ document()->appendChild(rootElement, IGNORE_EXCEPTION);
toHTMLHtmlElement(rootElement.get())->insertedByParser();
if (document()->frame() && document()->frame()->loader())
@@ -82,7 +82,7 @@ void PluginDocumentParser::createDocumentStructure()
body->setAttribute(marginheightAttr, "0");
body->setAttribute(styleAttr, "background-color: rgb(38,38,38)");
- rootElement->appendChild(body, IGNORE_EXCEPTION_STATE);
+ rootElement->appendChild(body, IGNORE_EXCEPTION);
RefPtr<Element> embedElement = document()->createElement(embedTag, false);
@@ -100,7 +100,7 @@ void PluginDocumentParser::createDocumentStructure()
toPluginDocument(document())->setPluginNode(m_embedElement);
- body->appendChild(embedElement, IGNORE_EXCEPTION_STATE);
+ body->appendChild(embedElement, IGNORE_EXCEPTION);
Frame* frame = document()->frame();
if (!frame)
« no previous file with comments | « Source/core/html/MediaDocument.cpp ('k') | Source/core/html/RangeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698