From 03ae272459869b854e5db252fc81a64a516e111f Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Wed, 25 Feb 2015 11:01:09 -0800 Subject: Remove renderer abstract class No longer needed, allowing vast majority of methods on OpenGLRenderer to be non-virtual. Change-Id: I8a6ee042b95050dc666887579ef4e1c7a8f9b33b --- libs/hwui/DisplayListOp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/DisplayListOp.h') diff --git a/libs/hwui/DisplayListOp.h b/libs/hwui/DisplayListOp.h index 00942d7..dba5121 100644 --- a/libs/hwui/DisplayListOp.h +++ b/libs/hwui/DisplayListOp.h @@ -1340,7 +1340,7 @@ public: const Vector& ops, const Rect& bounds) override { for (unsigned int i = 0; i < ops.size(); i++) { const DeferredDisplayState& state = *(ops[i].state); - DrawOpMode drawOpMode = (i == ops.size() - 1) ? kDrawOpMode_Flush : kDrawOpMode_Defer; + DrawOpMode drawOpMode = (i == ops.size() - 1) ? DrawOpMode::kFlush : DrawOpMode::kDefer; renderer.restoreDisplayState(state, true); // restore all but the clip DrawTextOp& op = *((DrawTextOp*)ops[i].op); -- cgit v1.1