Index: third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
index 1d2d7fa929242c52d9e7a4799474a1213db29857..b35795d65a84061b631e37b5505a11d9157af707 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp |
@@ -15,14 +15,14 @@ SubsequenceRecorder::SubsequenceRecorder(GraphicsContext& context, |
: paint_controller_(context.GetPaintController()), |
client_(client), |
begin_subsequence_index_(0) { |
+#if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS |
+ paint_controller_.BeginSubsequence(client_); |
+#endif |
+ |
if (paint_controller_.DisplayItemConstructionIsDisabled()) |
return; |
begin_subsequence_index_ = paint_controller_.NewDisplayItemList().size(); |
- |
-#if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS |
- paint_controller_.BeginSubsequence(client_); |
-#endif |
} |
SubsequenceRecorder::~SubsequenceRecorder() { |