| 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;
|
|
|