Add missing params to renderer->resetState().
authorjvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 28 Jan 2013 21:09:05 +0000 (21:09 +0000)
committerjvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 28 Jan 2013 21:09:05 +0000 (21:09 +0000)
https://codereview.appspot.com/7234051/

git-svn-id: http://skia.googlecode.com/svn/trunk@7431 2bbb7eff-a529-9590-31e7-b0007b416f81

debugger/QT/SkDebuggerGUI.cpp

index ae32aa01368faa23bf5fe2aadd876c7832d77e0f..68590787f2d255f15e68669c8a067485f295d45e 100644 (file)
@@ -327,7 +327,7 @@ void SkDebuggerGUI::run(SkTimedPicture* pict,
 
     renderer->setup();
     renderer->render(NULL);
-    renderer->resetState();
+    renderer->resetState(true);
 
     // We throw this away the first batch of times to remove first time effects (such as paging in this program)
     pict->resetTimes();
@@ -335,7 +335,7 @@ void SkDebuggerGUI::run(SkTimedPicture* pict,
     for (int i = 0; i < repeats; ++i) {
         renderer->setup();
         renderer->render(NULL);
-        renderer->resetState();
+        renderer->resetState(true);
     }
 
     renderer->end();