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

Unified Diff: chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc

Issue 1069703002: Replace the struct workaround for forward-declaring ChromeViewHostMsg_GetPluginInfo_Status with a p… (Closed) Base URL: https://chromium.googlesource.com/chromium/src@issue444203
Patch Set: update base branch Created 5 years, 8 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
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc
diff --git a/chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc b/chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc
index 8441f7690c6a63036feefd389eccd1bddd61136a..9175a103401b32d38b627624e6829697e7e2ad83 100644
--- a/chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc
+++ b/chrome/renderer/plugins/shadow_dom_plugin_placeholder.cc
@@ -53,10 +53,10 @@ scoped_ptr<blink::WebPluginPlaceholder> CreateShadowDOMPlaceholderForPluginInfo(
orig_mime_type,
&output));
#else
- output.status.value = Status::kNotFound;
+ output.status = Status::kNotFound;
#endif
- if (output.status.value == Status::kNotFound) {
+ if (output.status == Status::kNotFound) {
// TODO(jbroman): Handle YouTube specially here, as in
// ChromeContentRendererClient::CreatePlugin.
PluginUMAReporter::GetInstance()->ReportPluginMissing(orig_mime_type,
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698