summaryrefslogtreecommitdiff
path: root/testing/DEPS
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-08-15 13:10:03 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-15 13:10:03 -0700
commitef523dd36aea991084b8b934df846014a5c09c6f (patch)
tree2fdaf648680f8705ca26ed40c839dc004cf5fe66 /testing/DEPS
parent8e557bd9e7c09f9ce75fbea42f826b74d5cdc54b (diff)
downloadpdfium-ef523dd36aea991084b8b934df846014a5c09c6f.tar.xz
Only create widgets if really needed.
Currently the GetWidget call will create a backing widget for a control behind the scenes if it doesn't exist. This can cause more work to be done then needed as we may need to create the page and any supporting structures. This created structure will then be torn down as we don't need it anymore once we're done with the widget. For the instances where setting the value on the widget will have no effect (as we'll destroy it anyway) we can tell GetWidget() to not create the widget and return without doing any work. BUG=pdfium:632709 Review-Url: https://codereview.chromium.org/2251453002
Diffstat (limited to 'testing/DEPS')
0 files changed, 0 insertions, 0 deletions