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

Issue 2439173002: [windows] Make most file_win.cc functions use malloc for string conversions. (Closed)

Created:
4 years, 2 months ago by zra
Modified:
4 years, 2 months ago
Reviewers:
rmacnak, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[windows] Make most file_win.cc functions use malloc for string conversions. They have been using Dart_ScopeAllocate(), which makes them impossible to use outside of a scope. Also turn on inlining in the GN Debug windows build to match the gyp build and speed things up a bit. R=asiva@google.com, rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/b6ea87c44415b0950fcf17579072c733c0ecb5c0

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -126 lines) Patch
M build/config/compiler/BUILD.gn View 1 1 chunk +2 lines, -1 line 0 comments Download
M runtime/bin/directory_win.cc View 7 chunks +19 lines, -19 lines 0 comments Download
M runtime/bin/file.h View 2 chunks +4 lines, -9 lines 0 comments Download
M runtime/bin/file.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/bin/file_android.cc View 2 chunks +1 line, -7 lines 0 comments Download
M runtime/bin/file_fuchsia.cc View 2 chunks +1 line, -7 lines 0 comments Download
M runtime/bin/file_linux.cc View 2 chunks +1 line, -7 lines 0 comments Download
M runtime/bin/file_macos.cc View 2 chunks +1 line, -7 lines 0 comments Download
M runtime/bin/file_system_watcher_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/file_win.cc View 19 chunks +46 lines, -62 lines 0 comments Download
M runtime/bin/socket_win.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/bin/utils_win.h View 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
zra
4 years, 2 months ago (2016-10-21 20:19:27 UTC) #4
zra
4 years, 2 months ago (2016-10-21 20:19:27 UTC) #5
rmacnak
LGTM
4 years, 2 months ago (2016-10-21 21:33:55 UTC) #6
siva
lgtm https://codereview.chromium.org/2439173002/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2439173002/diff/1/build/config/compiler/BUILD.gn#newcode735 build/config/compiler/BUILD.gn:735: # The only difference on windows is that ...
4 years, 2 months ago (2016-10-21 21:41:26 UTC) #7
zra
https://codereview.chromium.org/2439173002/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2439173002/diff/1/build/config/compiler/BUILD.gn#newcode735 build/config/compiler/BUILD.gn:735: # The only difference on windows is that the ...
4 years, 2 months ago (2016-10-21 21:54:10 UTC) #8
zra
4 years, 2 months ago (2016-10-21 21:55:44 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
b6ea87c44415b0950fcf17579072c733c0ecb5c0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698