| Index: third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp b/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
|
| index 0fc1996dba52ab16ea00e68e10bfbbd984df7fcc..4b0dbc740ea5559ae39dc2916482624ae5df356b 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp
|
| @@ -50,17 +50,17 @@ void SharedContextRateLimiter::tick()
|
| WebGraphicsContext3D* context = m_contextProvider->context3d();
|
| m_queries.append(m_canUseSyncQueries ? context->createQueryEXT() : 0);
|
| if (m_canUseSyncQueries) {
|
| - context->beginQueryEXT(GL_COMMANDS_COMPLETED_CHROMIUM, m_queries.last());
|
| - context->endQueryEXT(GL_COMMANDS_COMPLETED_CHROMIUM);
|
| + gl->BeginQueryEXT(GL_COMMANDS_COMPLETED_CHROMIUM, m_queries.last());
|
| + gl->EndQueryEXT(GL_COMMANDS_COMPLETED_CHROMIUM);
|
| }
|
| if (m_queries.size() > m_maxPendingTicks) {
|
| if (m_canUseSyncQueries) {
|
| WGC3Duint result;
|
| - context->getQueryObjectuivEXT(m_queries.first(), GL_QUERY_RESULT_EXT, &result);
|
| + gl->GetQueryObjectuivEXT(m_queries.first(), GL_QUERY_RESULT_EXT, &result);
|
| context->deleteQueryEXT(m_queries.first());
|
| m_queries.removeFirst();
|
| } else {
|
| - context->finish();
|
| + gl->Finish();
|
| reset();
|
| }
|
| }
|
|
|