| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index ee297fc13c2d956e3413dddd5bf8e2c7b991c06e..6f11128b2fc20500f393a2bac23b55a5f188b016 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -122,6 +122,7 @@
|
| #include "platform/graphics/filters/FilterOperations.h"
|
| #include "platform/graphics/gpu/SharedGraphicsContext3D.h"
|
| #include "platform/weborigin/SchemeRegistry.h"
|
| +#include "public/platform/WebGraphicsContext3D.h"
|
| #include "public/platform/WebLayer.h"
|
| #include "wtf/InstanceCounter.h"
|
| #include "wtf/dtoa.h"
|
| @@ -2332,7 +2333,7 @@ bool Internals::loseSharedGraphicsContext3D()
|
| RefPtr<GraphicsContext3D> sharedContext = SharedGraphicsContext3D::get();
|
| if (!sharedContext)
|
| return false;
|
| - sharedContext->extensions()->loseContextCHROMIUM(Extensions3D::GUILTY_CONTEXT_RESET_ARB, Extensions3D::INNOCENT_CONTEXT_RESET_ARB);
|
| + sharedContext->webContext()->loseContextCHROMIUM(GL_GUILTY_CONTEXT_RESET_EXT, GL_INNOCENT_CONTEXT_RESET_EXT);
|
| // To prevent tests that call loseSharedGraphicsContext3D from being
|
| // flaky, we call finish so that the context is guaranteed to be lost
|
| // synchronously (i.e. before returning).
|
|
|