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

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

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/HTMLPlugInElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
index 41a2aaa9f7a45d2594d77b50b94e509f347094b1..21bf4df17bf0fc31bd37836079196debf2795212 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
@@ -622,11 +622,12 @@ bool HTMLPlugInElement::allowedToLoadObject(const KURL& url,
bool HTMLPlugInElement::allowedToLoadPlugin(const KURL& url,
const String& mimeType) {
if (document().isSandboxed(SandboxPlugins)) {
- document().addConsoleMessage(ConsoleMessage::create(
- SecurityMessageSource, ErrorMessageLevel,
- "Failed to load '" + url.elidedString() + "' as a plugin, because the "
- "frame into which the plugin "
- "is loading is sandboxed."));
+ document().addConsoleMessage(
+ ConsoleMessage::create(SecurityMessageSource, ErrorMessageLevel,
+ "Failed to load '" + url.elidedString() +
+ "' as a plugin, because the "
+ "frame into which the plugin "
+ "is loading is sandboxed."));
return false;
}
return true;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOptionElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698