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

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

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/core/html/PluginDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/PluginDocument.cpp b/third_party/WebKit/Source/core/html/PluginDocument.cpp
index 84f3c5a2256aeea4d7f0060f4105a3b020646959..1ef9e3f5bef541ab63aefd5b1ca1719a5bec7f40 100644
--- a/third_party/WebKit/Source/core/html/PluginDocument.cpp
+++ b/third_party/WebKit/Source/core/html/PluginDocument.cpp
@@ -72,7 +72,8 @@ class PluginDocumentParser : public RawDataDocumentParser {
void PluginDocumentParser::createDocumentStructure() {
// FIXME: Assert we have a loader to figure out why the original null checks
- // and assert were added for the security bug in http://trac.webkit.org/changeset/87566
+ // and assert were added for the security bug in
+ // http://trac.webkit.org/changeset/87566
DCHECK(document());
RELEASE_ASSERT(document()->loader());
@@ -97,7 +98,8 @@ void PluginDocumentParser::createDocumentStructure() {
"100%; overflow: hidden; margin: 0");
rootElement->appendChild(body);
if (isStopped())
- return; // Possibly detached by a mutation event listener installed in runScriptsAtDocumentElementAvailable.
+ return; // Possibly detached by a mutation event listener installed in
dcheng 2016/10/05 22:29:17 Nit: own line, maybe? (Also surprised that check-
Nico 2016/10/05 22:35:17 Done.
+ // runScriptsAtDocumentElementAvailable.
m_embedElement = HTMLEmbedElement::create(*document());
m_embedElement->setAttribute(widthAttr, "100%");
@@ -109,7 +111,8 @@ void PluginDocumentParser::createDocumentStructure() {
m_embedElement->setAttribute(typeAttr, document()->loader()->mimeType());
body->appendChild(m_embedElement);
if (isStopped())
- return; // Possibly detached by a mutation event listener installed in runScriptsAtDocumentElementAvailable.
+ return; // Possibly detached by a mutation event listener installed in
+ // runScriptsAtDocumentElementAvailable.
toPluginDocument(document())->setPluginNode(m_embedElement.get());
@@ -122,7 +125,8 @@ void PluginDocumentParser::createDocumentStructure() {
if (frame->isMainFrame()) {
m_embedElement->focus();
if (isStopped())
- return; // Possibly detached by a focus event listener installed in runScriptsAtDocumentElementAvailable.
+ return; // Possibly detached by a focus event listener installed in
+ // runScriptsAtDocumentElementAvailable.
}
if (PluginView* view = pluginView())

Powered by Google App Engine
This is Rietveld 408576698