Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: tools/perf/measurements/tab_switching.py

Issue 1914233003: [tools/perf] Delete unused variable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/measurements/startup.py ('k') | tools/perf/measurements/task_execution_time.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/tab_switching.py
diff --git a/tools/perf/measurements/tab_switching.py b/tools/perf/measurements/tab_switching.py
index e26df13a5127e7f65451d2dd7cab57384e00eff1..1d2b123b384cb4752b98119b6593839aa4a5b643 100644
--- a/tools/perf/measurements/tab_switching.py
+++ b/tools/perf/measurements/tab_switching.py
@@ -48,6 +48,7 @@ class TabSwitching(page_test.PageTest):
self._power_metric = power.PowerMetric(platform, TabSwitching.SAMPLE_TIME)
def TabForPage(self, page, browser):
+ del page # unused
if self.first_page_in_storyset:
# The initial browser window contains a single tab, navigate that tab
# rather than creating a new one.
@@ -108,4 +109,5 @@ class TabSwitching(page_test.PageTest):
keychain_metric.KeychainMetric().AddResults(tab, results)
def DidRunPage(self, platform):
+ del platform # unused
self._power_metric.Close()
« no previous file with comments | « tools/perf/measurements/startup.py ('k') | tools/perf/measurements/task_execution_time.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698