Skip to content

Commit

Permalink
Remove redundant SupportsWeakPtr from BrowserControlsOffsetManager
Browse files Browse the repository at this point in the history
BrowserControlsOffsetManager unnecessarily inherits from SupportsWeakPtr.

BUG=None
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2833383002
Cr-Commit-Position: refs/heads/master@{#466698}
  • Loading branch information
chandanpadhi authored and Commit bot committed Apr 24, 2017
1 parent b5cd9b3 commit 89c16ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cc/input/browser_controls_offset_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <memory>

#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "cc/input/browser_controls_state.h"
#include "cc/layers/layer_impl.h"
Expand All @@ -20,8 +19,7 @@ namespace cc {
class BrowserControlsOffsetManagerClient;

// Manages the position of the browser controls.
class CC_EXPORT BrowserControlsOffsetManager
: public base::SupportsWeakPtr<BrowserControlsOffsetManager> {
class CC_EXPORT BrowserControlsOffsetManager {
public:
enum AnimationDirection { NO_ANIMATION, SHOWING_CONTROLS, HIDING_CONTROLS };

Expand Down

0 comments on commit 89c16ba

Please sign in to comment.