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

Unified Diff: components/plugins/renderer/plugin_placeholder.cc

Issue 1124343002: Plugin Power Saver: Enable JS access to throttled plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: components/plugins/renderer/plugin_placeholder.cc
diff --git a/components/plugins/renderer/plugin_placeholder.cc b/components/plugins/renderer/plugin_placeholder.cc
index 46862656967e355bdc47c08e4a8408da04776544..8bbe491c405cded2a3c55e8613179f48ee962fb1 100644
--- a/components/plugins/renderer/plugin_placeholder.cc
+++ b/components/plugins/renderer/plugin_placeholder.cc
@@ -42,6 +42,11 @@ void PluginPlaceholder::PluginDestroyed() {
plugin_ = NULL;
}
+v8::Local<v8::Object> PluginPlaceholder::GetV8ScriptableObject(
+ v8::Isolate* isolate) const {
+ return v8::Local<v8::Object>();
+}
+
void PluginPlaceholder::OnDestruct() {
frame_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698