| Index: ui/gfx/compositor/compositor_gl.cc
|
| diff --git a/ui/gfx/compositor/compositor_gl.cc b/ui/gfx/compositor/compositor_gl.cc
|
| index d952f9bcfd992ec4a9c4e1127fddc510d6225e4d..f8fc13904dddb7412873ed1bdad7b683f7f1fd4e 100644
|
| --- a/ui/gfx/compositor/compositor_gl.cc
|
| +++ b/ui/gfx/compositor/compositor_gl.cc
|
| @@ -10,7 +10,6 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "base/threading/thread_restrictions.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| #include "third_party/skia/include/core/SkMatrix.h"
|
| #include "third_party/skia/include/core/SkScalar.h"
|
| @@ -243,10 +242,6 @@ void CompositorGL::NotifyEnd() {
|
|
|
| // static
|
| Compositor* Compositor::Create(gfx::AcceleratedWidget widget) {
|
| - // The following line of code exists soley to disable IO restrictions
|
| - // on this thread long enough to perform the GL bindings.
|
| - // TODO(backer) Remove this when GL initialisation cleaned up.
|
| - base::ThreadRestrictions::ScopedAllowIO allow_io;
|
| // TODO(backer) Remove this when GL thread patch lands. Should be init'd
|
| // by the new GPU thread.
|
| // http://codereview.chromium.org/6677055/
|
|
|