Chromium Code Reviews| 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..fbdfa23592d0129c9729df09558b4c1eaf2c5357 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, NULL, NULL, settings, NULL, nullptr); |
|
dcheng
2014/11/10 22:56:15
The inconsistency between NULL and nullptr here is
simonhong
2014/11/11 12:54:14
Done.
|
| layer_tree_host_->SetRootLayer(root_layer_); |
| layer_tree_host_->SetLayerTreeHostClientReady(); |
| layer_tree_host_->set_has_transparent_background(true); |