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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py

Issue 1806393002: Run yapf on files in webkit/layout_tests/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py
index 22516bf6f3f936701e306ed0d0824ded4605f3f2..0206335bb012c96bb4ffa06be8c83164b1f69173 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py
@@ -6,9 +6,8 @@ import re
def result_contains_repaint_rects(text):
- return isinstance(text, str) and (
- re.search('"repaintRects": \[$', text, re.MULTILINE) != None or
- text.find('Minimum repaint:') != -1)
+ return isinstance(text, str) and (re.search('"repaintRects": \[$', text, re.MULTILINE) is not None or
+ text.find('Minimum repaint:') != -1)
def extract_layer_tree(input_str):

Powered by Google App Engine
This is Rietveld 408576698