Index: cc/tiles/tile_manager.cc |
diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc |
index f4d8fc5fbaddf63e8c89a2c235b4af1e9949367c..d2b046cb157a0269006a8d0ae60ed3d68470bf5d 100644 |
--- a/cc/tiles/tile_manager.cc |
+++ b/cc/tiles/tile_manager.cc |
@@ -104,7 +104,7 @@ class RasterTaskImpl : public TileTask { |
} |
void CompleteOnOriginThread(RasterBufferProvider* provider) override { |
provider->ReleaseBufferForRaster(std::move(raster_buffer_)); |
- reply_.Run(!HasFinishedRunning()); |
+ reply_.Run(!state().IsFinished()); |
} |
protected: |