Fix Linux builds by correctly initializing the GPURasterizer. (flutter/engine#3322)

The API was updated recently so platforms can report memory usage for the
rasterizer to display as an overlay.
This commit is contained in:
Chinmay Garde
2017-01-05 11:34:42 -08:00
committed by GitHub
parent 2ba424edb7
commit 04d14ea433

View File

@@ -16,7 +16,7 @@ inline PlatformViewGLFW* ToPlatformView(GLFWwindow* window) {
}
PlatformViewGLFW::PlatformViewGLFW()
: PlatformView(std::make_unique<GPURasterizer>()),
: PlatformView(std::make_unique<GPURasterizer>(nullptr)),
valid_(false),
glfw_window_(nullptr),
buttons_(0) {