summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authoryzshen <yzshen@chromium.org>2016-03-17 20:19:49 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-18 03:21:38 +0000
commitff43dcf4c622fb46b062abca1024a89fb01b54c7 (patch)
treefc710ceb7dd72d2805082cf33df48c056e86789d /skia
parent86e5caf8d9d8490f645757bc886b942f10d0f7b1 (diff)
downloadchromium_src-ff43dcf4c622fb46b062abca1024a89fb01b54c7.zip
chromium_src-ff43dcf4c622fb46b062abca1024a89fb01b54c7.tar.gz
chromium_src-ff43dcf4c622fb46b062abca1024a89fb01b54c7.tar.bz2
Mojo C++ bindings: fix sanity check of wtf string serialization.
Previously the code had a check that we use exactly the same WTF::String object for GetSerializedSize_ and Serialize_ call. However, because WTF::String is ref-counted, we may end up using different WTF::String objects referring to the same contents. That may happen, e.g., when moving WTF::String to a different container. This CL changes the sanity check to verify that the size of WTF::String remains unchanged. BUG=595791 Review URL: https://codereview.chromium.org/1810253002 Cr-Commit-Position: refs/heads/master@{#381880}
Diffstat (limited to 'skia')
0 files changed, 0 insertions, 0 deletions