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

Unified Diff: chrome/renderer/chrome_content_renderer_client_browsertest.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
Index: chrome/renderer/chrome_content_renderer_client_browsertest.cc
diff --git a/chrome/renderer/chrome_content_renderer_client_browsertest.cc b/chrome/renderer/chrome_content_renderer_client_browsertest.cc
index fbaba812f24072c51fa2a0e7c08af25e13f95b21..14b25267c4d26a149fd2b506a735c784963912ad 100644
--- a/chrome/renderer/chrome_content_renderer_client_browsertest.cc
+++ b/chrome/renderer/chrome_content_renderer_client_browsertest.cc
@@ -133,7 +133,7 @@ TEST_F(CreatePluginPlaceholderTest, MissingPlugin) {
params.mimeType = base::ASCIIToUTF16(mime_type);
ChromeViewHostMsg_GetPluginInfo_Output output;
- output.status.value = ChromeViewHostMsg_GetPluginInfo_Status::kNotFound;
+ output.status = ChromeViewHostMsg_GetPluginInfo_Status::kNotFound;
ScopedMockPluginInfoFilter filter(render_thread_.get());
#if defined(ENABLE_PLUGINS)
@@ -158,7 +158,7 @@ TEST_F(CreatePluginPlaceholderTest, PluginFound) {
params.mimeType = base::ASCIIToUTF16(mime_type);
ChromeViewHostMsg_GetPluginInfo_Output output;
- output.status.value = ChromeViewHostMsg_GetPluginInfo_Status::kAllowed;
+ output.status = ChromeViewHostMsg_GetPluginInfo_Status::kAllowed;
ScopedMockPluginInfoFilter filter(render_thread_.get());
#if defined(ENABLE_PLUGINS)
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/plugins/chrome_plugin_placeholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698