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

Unified Diff: content/plugin/plugin_interpose_util_mac.mm

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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 | « content/plugin/plugin_carbon_interpose_mac.cc ('k') | content/public/browser/child_process_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_interpose_util_mac.mm
diff --git a/content/plugin/plugin_interpose_util_mac.mm b/content/plugin/plugin_interpose_util_mac.mm
index f58d1d33fa70204628d02fb7f99b8cfc33e3a957..a8a1d32b1fe321f827149b4000e841f6e349d545 100644
--- a/content/plugin/plugin_interpose_util_mac.mm
+++ b/content/plugin/plugin_interpose_util_mac.mm
@@ -86,7 +86,7 @@ void NotifyPluginOfSetCursorVisibility(bool visibility) {
struct WindowInfo {
uint32 window_id;
CGRect bounds;
- WindowInfo(NSWindow* window) {
+ explicit WindowInfo(NSWindow* window) {
NSInteger window_num = [window windowNumber];
window_id = window_num > 0 ? window_num : 0;
bounds = NSRectToCGRect([window frame]);
« no previous file with comments | « content/plugin/plugin_carbon_interpose_mac.cc ('k') | content/public/browser/child_process_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698