summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorharaken <haraken@chromium.org>2016-01-05 00:46:36 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-05 08:47:39 +0000
commitb2eed16e7e44ed1f57d249b5525def01dd5518fd (patch)
tree58dba4716d0392e11d2faec6fe6e7afa52bd51c8 /dbus
parent72affa46023afe3caf07116cd9fa85e7adab897e (diff)
downloadchromium_src-b2eed16e7e44ed1f57d249b5525def01dd5518fd.zip
chromium_src-b2eed16e7e44ed1f57d249b5525def01dd5518fd.tar.gz
chromium_src-b2eed16e7e44ed1f57d249b5525def01dd5518fd.tar.bz2
toV8Context should handle a case where WindowProxy::context() returns an empty handle.
windowProxy()->context() can return nullptr if the windowProxy() failed at initializing the context for some reason. Thus the caller site of windowProxy()->context() need to handle a case where the windowProxy()->context() returns an empty handle. This CL renames WindowProxy::context() to WindowProxy::contextIfInitialized() for clarity. BUG=571720 TEST=None. The test case reported by the clusterfuzz is too large to minimize. Review URL: https://codereview.chromium.org/1546253003 Cr-Commit-Position: refs/heads/master@{#367498}
Diffstat (limited to 'dbus')
0 files changed, 0 insertions, 0 deletions