Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Issue 2150333003: [DevTools] Compatibility with old STL libraries (Closed)

Created:
4 years, 5 months ago by eostroukhov-old
Modified:
4 years, 5 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Compatibility with older STL libraries One of the clients need to support Mac OS X version 10.7, which means that Clang compiler that support C++11 is used but the application is linked against pre-C++11 libstdc++. Following changes were made: 1. std::unique_ptr got a new copy ctor that take a const ref - this allows for the pointer to be put into STL containers that do not support rvalue references. 2. cbegin/cend functions are no longer used. 3. Paths were changed and conditional macros were adjusted. BUG=628794 R=pfeldman@chromium.org Committed: https://crrev.com/851972d6da7463c353d712d2cb6c1ec23fa6c4fe Cr-Commit-Position: refs/heads/master@{#406103}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comments were addressed #

Patch Set 3 : Fixed typo in the build file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -26 lines) Patch
M third_party/WebKit/Source/platform/inspector_protocol/Collections.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/inspector_protocol/PlatformSTL.h View 1 8 chunks +27 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/platform/inspector_protocol/String16STL.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/v8_inspector.gyp View 1 2 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
eostroukhov-old
Please review.
4 years, 5 months ago (2016-07-15 23:08:36 UTC) #4
pfeldman
https://codereview.chromium.org/2150333003/diff/1/third_party/WebKit/Source/platform/inspector_protocol/Collections.h File third_party/WebKit/Source/platform/inspector_protocol/Collections.h (right): https://codereview.chromium.org/2150333003/diff/1/third_party/WebKit/Source/platform/inspector_protocol/Collections.h#newcode17 third_party/WebKit/Source/platform/inspector_protocol/Collections.h:17: template <class Key, class T> using HashMap = std::map<Key, ...
4 years, 5 months ago (2016-07-15 23:14:07 UTC) #5
eostroukhov-old
Thank you for the review. I addressed the comments, please take another look. https://codereview.chromium.org/2150333003/diff/1/third_party/WebKit/Source/platform/inspector_protocol/Collections.h File ...
4 years, 5 months ago (2016-07-15 23:45:53 UTC) #6
pfeldman
You should upload the new patch.
4 years, 5 months ago (2016-07-16 00:08:51 UTC) #7
eostroukhov-old
On 2016/07/16 00:08:51, pfeldman wrote: > You should upload the new patch. Oops, it was ...
4 years, 5 months ago (2016-07-18 16:16:52 UTC) #11
pfeldman
lgtm
4 years, 5 months ago (2016-07-18 18:08:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2150333003/40001
4 years, 5 months ago (2016-07-18 18:34:30 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/264389)
4 years, 5 months ago (2016-07-18 20:03:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2150333003/40001
4 years, 5 months ago (2016-07-18 20:07:48 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-18 21:35:50 UTC) #24
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-18 21:36:21 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 21:37:13 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/851972d6da7463c353d712d2cb6c1ec23fa6c4fe
Cr-Commit-Position: refs/heads/master@{#406103}

Powered by Google App Engine
This is Rietveld 408576698