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

Unified Diff: chrome/renderer/plugins/chrome_plugin_placeholder.h

Issue 1995983002: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: chrome/renderer/plugins/chrome_plugin_placeholder.h
diff --git a/chrome/renderer/plugins/chrome_plugin_placeholder.h b/chrome/renderer/plugins/chrome_plugin_placeholder.h
index a1ad0ea393d63a94d1059a8a3f9c072109b7adc6..78348cf2888d7cfec090849f296d0b4591d316e3 100644
--- a/chrome/renderer/plugins/chrome_plugin_placeholder.h
+++ b/chrome/renderer/plugins/chrome_plugin_placeholder.h
@@ -112,10 +112,11 @@ class ChromePluginPlaceholder final
#if defined(ENABLE_PLUGIN_INSTALLATION)
// |routing_id()| is the routing ID of our associated RenderView, but we have
// a separate routing ID for messages specific to this placeholder.
- int32_t placeholder_routing_id_;
+ int32_t placeholder_routing_id_ = MSG_ROUTING_NONE;
+
+ bool has_host_ = false;
#endif
- bool has_host_;
int context_menu_request_id_; // Nonzero when request pending.
base::string16 plugin_name_;

Powered by Google App Engine
This is Rietveld 408576698