Index: android_webview/browser/hardware_renderer.cc |
diff --git a/android_webview/browser/hardware_renderer.cc b/android_webview/browser/hardware_renderer.cc |
index 5af1109c32f86a45598bd06d4b37aa3199d11cf9..ef98ecb7fb4264a4af245ca45a732cf88b0b8a03 100644 |
--- a/android_webview/browser/hardware_renderer.cc |
+++ b/android_webview/browser/hardware_renderer.cc |
@@ -17,6 +17,7 @@ |
#include "cc/layers/layer.h" |
#include "cc/output/compositor_frame.h" |
#include "cc/output/output_surface.h" |
+#include "cc/scheduler/begin_frame_source.h" |
#include "cc/trees/layer_tree_host.h" |
#include "cc/trees/layer_tree_settings.h" |
#include "gpu/command_buffer/client/gl_in_process_context.h" |
@@ -101,7 +102,7 @@ HardwareRenderer::HardwareRenderer(SharedRendererState* state) |
settings.single_thread_proxy_scheduler = false; |
layer_tree_host_ = cc::LayerTreeHost::CreateSingleThreaded( |
- this, this, NULL, NULL, settings, NULL); |
+ this, this, nullptr, nullptr, settings, nullptr, nullptr); |
layer_tree_host_->SetRootLayer(root_layer_); |
layer_tree_host_->SetLayerTreeHostClientReady(); |
layer_tree_host_->set_has_transparent_background(true); |