| 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):
|
|
|