Index: tools/perf/measurements/oilpan_gc_times.py |
diff --git a/tools/perf/measurements/oilpan_gc_times.py b/tools/perf/measurements/oilpan_gc_times.py |
index 151b0cf39168aa770094e19fb6c13fdfe19c06f4..debaa2a20eb0611874245945075fb79198d8dcb8 100644 |
--- a/tools/perf/measurements/oilpan_gc_times.py |
+++ b/tools/perf/measurements/oilpan_gc_times.py |
@@ -135,6 +135,7 @@ class _OilpanGCTimesBase(page_test.PageTest): |
super(_OilpanGCTimesBase, self).__init__(action_name) |
def WillNavigateToPage(self, page, tab): |
+ del page # unused |
# FIXME: Remove webkit.console when blink.console lands in chromium and |
# the ref builds are updated. crbug.com/386847 |
config = tracing_config.TracingConfig() |
@@ -144,6 +145,7 @@ class _OilpanGCTimesBase(page_test.PageTest): |
tab.browser.platform.tracing_controller.StartTracing(config, timeout=1000) |
def ValidateAndMeasurePage(self, page, tab, results): |
+ del page # unused |
timeline_data = tab.browser.platform.tracing_controller.StopTracing() |
timeline_model = TimelineModel(timeline_data) |
threads = timeline_model.GetAllThreads() |
@@ -163,6 +165,7 @@ class OilpanGCTimesForSmoothness(_OilpanGCTimesBase): |
self._interaction = None |
def DidNavigateToPage(self, page, tab): |
+ del page # unused |
self._interaction = tab.action_runner.CreateInteraction(_RUN_SMOOTH_ACTIONS) |
self._interaction.Begin() |