| Index: ui/ozone/public/surface_factory_ozone.cc
|
| diff --git a/ui/ozone/public/surface_factory_ozone.cc b/ui/ozone/public/surface_factory_ozone.cc
|
| index c4efc06111748619fa2e2540c955fc580ef431fb..09344c430c79e4a6a4a6af772e3b72d527a0c3ee 100644
|
| --- a/ui/ozone/public/surface_factory_ozone.cc
|
| +++ b/ui/ozone/public/surface_factory_ozone.cc
|
| @@ -13,22 +13,10 @@
|
|
|
| namespace ui {
|
|
|
| -// static
|
| -SurfaceFactoryOzone* SurfaceFactoryOzone::impl_ = NULL;
|
| -
|
| SurfaceFactoryOzone::SurfaceFactoryOzone() {
|
| - DCHECK(!impl_) << "There should only be a single SurfaceFactoryOzone.";
|
| - impl_ = this;
|
| }
|
|
|
| SurfaceFactoryOzone::~SurfaceFactoryOzone() {
|
| - DCHECK_EQ(impl_, this);
|
| - impl_ = NULL;
|
| -}
|
| -
|
| -SurfaceFactoryOzone* SurfaceFactoryOzone::GetInstance() {
|
| - DCHECK(impl_) << "No SurfaceFactoryOzone implementation set.";
|
| - return impl_;
|
| }
|
|
|
| intptr_t SurfaceFactoryOzone::GetNativeDisplay() {
|
|
|