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

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

Issue 3461019: FBTF: Move virtual methods to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win+chromeos+mac fixes Created 10 years, 3 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/browser/device_orientation/provider.h
diff --git a/chrome/browser/device_orientation/provider.h b/chrome/browser/device_orientation/provider.h
index ce1b89d49e87175f259f0b836cfc26fb99b1326b..8f19eb776646e719df8ac937ef930a3c55183659 100644
--- a/chrome/browser/device_orientation/provider.h
+++ b/chrome/browser/device_orientation/provider.h
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_DEVICE_ORIENTATION_PROVIDER_H_
#define CHROME_BROWSER_DEVICE_ORIENTATION_PROVIDER_H_
-#include "base/logging.h"
#include "base/ref_counted.h"
namespace device_orientation {
@@ -42,11 +41,8 @@ class Provider : public base::RefCountedThreadSafe<Provider> {
virtual void RemoveObserver(Observer* observer) = 0;
protected:
- Provider() {}
- virtual ~Provider() {
- DCHECK(instance_ == this);
- instance_ = NULL;
- }
+ Provider();
+ virtual ~Provider();
private:
friend class base::RefCountedThreadSafe<Provider>;

Powered by Google App Engine
This is Rietveld 408576698