| Index: components/html_viewer/blink_platform_impl.cc
|
| diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc
|
| index 560a4f51427b4070b6a716a82ad7a832dca11c9e..fbf40d3ab3ac60db81b7da6b4490111de0f11e08 100644
|
| --- a/components/html_viewer/blink_platform_impl.cc
|
| +++ b/components/html_viewer/blink_platform_impl.cc
|
| @@ -17,7 +17,6 @@
|
| #include "components/html_viewer/blink_resource_constants.h"
|
| #include "components/html_viewer/web_clipboard_impl.h"
|
| #include "components/html_viewer/web_cookie_jar_impl.h"
|
| -#include "components/html_viewer/web_graphics_context_3d_command_buffer_impl.h"
|
| #include "components/html_viewer/web_socket_handle_impl.h"
|
| #include "components/html_viewer/web_url_loader_impl.h"
|
| #include "components/message_port/web_message_port_channel_impl.h"
|
| @@ -35,7 +34,6 @@
|
| #include "third_party/WebKit/public/platform/WebWaitableEvent.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/events/gestures/blink/web_gesture_curve_impl.h"
|
| -#include "url/gurl.h"
|
|
|
| namespace html_viewer {
|
| namespace {
|
| @@ -70,8 +68,7 @@
|
| BlinkPlatformImpl::BlinkPlatformImpl(
|
| mojo::ApplicationImpl* app,
|
| scheduler::RendererScheduler* renderer_scheduler)
|
| - : app_(app),
|
| - main_thread_task_runner_(renderer_scheduler->DefaultTaskRunner()),
|
| + : main_thread_task_runner_(renderer_scheduler->DefaultTaskRunner()),
|
| main_thread_(new scheduler::WebThreadImplForRendererScheduler(
|
| renderer_scheduler)) {
|
| if (app) {
|
| @@ -163,34 +160,6 @@
|
| const char* category_name) {
|
| static const unsigned char buf[] = "*";
|
| return buf;
|
| -}
|
| -
|
| -blink::WebGraphicsContext3D*
|
| -BlinkPlatformImpl::createOffscreenGraphicsContext3D(
|
| - const blink::WebGraphicsContext3D::Attributes& attributes,
|
| - blink::WebGraphicsContext3D* share_context) {
|
| - return createOffscreenGraphicsContext3D(attributes, share_context, nullptr);
|
| -}
|
| -
|
| -blink::WebGraphicsContext3D*
|
| -BlinkPlatformImpl::createOffscreenGraphicsContext3D(
|
| - const blink::WebGraphicsContext3D::Attributes& attributes,
|
| - blink::WebGraphicsContext3D* share_context,
|
| - blink::WebGLInfo* gl_info) {
|
| - return WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext(
|
| - app_, GURL(attributes.topDocumentURL), attributes, share_context,
|
| - gl_info);
|
| -}
|
| -
|
| -blink::WebGraphicsContext3D*
|
| -BlinkPlatformImpl::createOffscreenGraphicsContext3D(
|
| - const blink::WebGraphicsContext3D::Attributes& attributes) {
|
| - return createOffscreenGraphicsContext3D(attributes, nullptr, nullptr);
|
| -}
|
| -
|
| -blink::WebGraphicsContext3DProvider*
|
| -BlinkPlatformImpl::createSharedOffscreenGraphicsContext3DProvider() {
|
| - return nullptr;
|
| }
|
|
|
| blink::WebData BlinkPlatformImpl::loadResource(const char* resource) {
|
|
|