Chromium Code Reviews| Index: components/plugins/renderer/loadable_plugin_placeholder.cc |
| diff --git a/components/plugins/renderer/loadable_plugin_placeholder.cc b/components/plugins/renderer/loadable_plugin_placeholder.cc |
| index 4f1303cbfa1456d732b629b572843ac6ee1ee31c..0d5b72582bca912258718cdb63633c79e36528ee 100644 |
| --- a/components/plugins/renderer/loadable_plugin_placeholder.cc |
| +++ b/components/plugins/renderer/loadable_plugin_placeholder.cc |
| @@ -178,6 +178,9 @@ v8::Local<v8::Object> LoadablePluginPlaceholder::GetV8ScriptableObject( |
| return v8::Local<v8::Object>(); |
| } |
| +bool LoadablePluginPlaceholder::isErrorPlaceholder() { |
| + return !allow_loading_; |
| +} |
|
Bernhard Bauer
2017/03/30 09:08:28
Nit: empty line after this one.
George Joseph
2017/03/30 22:58:02
Done.
|
| void LoadablePluginPlaceholder::OnUnobscuredRectUpdate( |
| const gfx::Rect& unobscured_rect) { |
| DCHECK(content::RenderThread::Get()); |