| Index: ui/ozone/platform/dri/gbm_surface_factory.cc
|
| diff --git a/ui/ozone/platform/dri/gbm_surface_factory.cc b/ui/ozone/platform/dri/gbm_surface_factory.cc
|
| index 3c0fe57aa36028eac0cc6530a7e7d98fe8814af0..ee227a14b7255a621f8b6665fbc255eb35b45574 100644
|
| --- a/ui/ozone/platform/dri/gbm_surface_factory.cc
|
| +++ b/ui/ozone/platform/dri/gbm_surface_factory.cc
|
| @@ -86,7 +86,6 @@ void GbmSurfaceFactory::InitializeGpu(
|
| }
|
|
|
| intptr_t GbmSurfaceFactory::GetNativeDisplay() {
|
| - DCHECK(state_ == INITIALIZED);
|
| return reinterpret_cast<intptr_t>(device_);
|
| }
|
|
|
| @@ -114,8 +113,6 @@ bool GbmSurfaceFactory::LoadEGLGLES2Bindings(
|
|
|
| scoped_ptr<SurfaceOzoneEGL> GbmSurfaceFactory::CreateEGLSurfaceForWidget(
|
| gfx::AcceleratedWidget widget) {
|
| - DCHECK(state_ == INITIALIZED);
|
| -
|
| DriWindowDelegate* delegate = GetOrCreateWindowDelegate(widget);
|
|
|
| scoped_ptr<GbmSurface> surface(new GbmSurface(delegate, device_, drm_));
|
|
|