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

Unified Diff: content/browser/device_orientation/provider.h

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
Index: content/browser/device_orientation/provider.h
diff --git a/content/browser/device_orientation/provider.h b/content/browser/device_orientation/provider.h
index 4bc0635fda6c6453b8de4a9c79e42f9fdd2821f5..33170986c54d0002cf08df28d6fbcadfd3436301 100644
--- a/content/browser/device_orientation/provider.h
+++ b/content/browser/device_orientation/provider.h
@@ -23,7 +23,7 @@ class CONTENT_EXPORT Provider : public base::RefCountedThreadSafe<Provider> {
DeviceData::Type device_data_type() { return device_data_type_; }
protected:
- Observer(DeviceData::Type device_data_type)
+ explicit Observer(DeviceData::Type device_data_type)
: device_data_type_(device_data_type) {
}
virtual ~Observer() {}
« no previous file with comments | « content/browser/device_orientation/message_filter.h ('k') | content/browser/device_orientation/provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698