Fix NULL deref in safe browsing preference validation delegate.
[chromium-blink-merge.git] / ui / compositor / reflector.h
blob41456957ffbf11989ad48229abca8e1a76419b17
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_COMPOSITOR_REFLECTOR_H_
6 #define UI_COMPOSITOR_REFLECTOR_H_
8 #include "base/memory/ref_counted.h"
10 namespace ui {
12 class Reflector : public base::RefCountedThreadSafe<Reflector> {
13 public:
14 Reflector() {}
16 virtual void OnMirroringCompositorResized() {}
18 protected:
19 friend class base::RefCountedThreadSafe<Reflector>;
20 virtual ~Reflector() {}
22 DISALLOW_COPY_AND_ASSIGN(Reflector);
25 } // namespace ui
27 #endif // UI_COMPOSITOR_REFLECTOR_H_