ipc/ipdl/.flake8
author Bas Schouten <bschouten@mozilla.com>
Tue, 26 Feb 2019 08:46:08 +0100
changeset 513319 46f0f4418eddc69b08f223b7766ef55725df3920
parent 482157 2de2efc2dec7720abb6c5213f70f22a51bb842c2
child 515562 3c7c50fba28399ae0d1a3812e5088cde55aacd8e
permissions -rw-r--r--
Bug 1526045 - Part 2: Verify all DrawTargets created through CreateOffscreenContentDrawTarget. r=rhunt a=lizzard Preferrably CreateOffscreenContentDrawTarget would create Capture DrawTargets when we intend to use OMTP. This is not the case at the moment though and changing this would likely introduce more unforseen issues. For now all of these calls basically mean a DrawTarget will be used on the main thread and we should use a no-op ClearRect to ensure that the DrawTarget is actually initialized. Since IsValid for the moment won't do this for DrawTargetD2D. (See bug 1521368)

[flake8]
# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402, E741, F405, F403
max-line-length = 99