- 30 Jul, 2016 40 commits
-
-
esprehn authored
reserveCapacity allocates the exact capacity specified which means when we had a 16bit buffer in StringBuilder and were appending 8bit strings to it we were constantly reallocating and copying the buffer. Instead we can just call Vector::append() directly since it has a template overload that can accept implicitly convertible types. I noticed this when looking at lever.co's web app loading in Instruments, it was spending 15% of the main thread time inside TextResource::decodedText which was 83% memmove, and 11% munmap. Switching to Vector::append should restore the correct size doubling behavior when appending LChars to a UChar StringBuilder and make this much faster. This was a regression from when I switched to using a Vector inside StringBuilder in: https://codereview.chromium.org/2046353002 Review-Url: https://codereview.chromium.org/2192293002 Cr-Commit-Position: refs/heads/master@{#408869}
-
chromeos-commit-bot authored
Cr-Commit-Position: refs/heads/master@{#408868}
-
atotic authored
This change implements size change notification algorithm. Design doc at https://docs.google.com/document/d/1G4OmqqlFY3H3erQAUmteKES02-bIECikDjWBrDKH9PA/edit?usp=sharing Size change notification We collect and deliver notifications about all Elements whose size has changed inside the event loop. The algorithm loops until all notifications are delivered, or it hits the depth limit. c = ResizeObserverController(); for (limit = c.gatherObservations(0); limit != ResizeObserverController::kDepthLimit; limit = c.gatherObservations(limit)) { c.deliverObservations(); } if (c.skippedObservations()) { c.clearObservations(); sendError() } For efficiency, we avoid continuosly polling all elements for size changes. Instead, an Element notifies ResizeObservation when its size might have changed. ResizeObservation propagates this change to ResizeObserver, which propagates to ResizeObserverController. All of them set a flag indicating that they might have been changed. The flag is cleared when observations are delivered. BUG=612962 Review-Url: https://codereview.chromium.org/2188983003 Cr-Commit-Position: refs/heads/master@{#408867}
-
jshin authored
Several BUILD.gn files were bundling icudtl.dat even when icu_use_data_file = false (i.e. icudata is statically linked). The TEST below was done with https://codereview.chromium.org/2174993002/ on the ICU side. This CL still can get in without that change, though. BUG=630929 TEST='gn args <outdir>' with icu_use_data_file=false generates ninja files. TEST=chrome / content_shell can be built. TEST=In Chrome/content_shell, go to a non-UTF-8 page (www.hankyung.com) or run `(new Date()).toLocaleString("de")` to make sure that ICU data is accessible. Review-Url: https://codereview.chromium.org/2181043003 Cr-Commit-Position: refs/heads/master@{#408866}
-
v8-autoroll authored
Summary of changes available at: https://chromium.googlesource.com/v8/v8/+log/6b119eb8..3a5efbf0 Please follow these instructions for assigning/CC'ing issues: https://github.com/v8/v8/wiki/Triaging%20issues Please close rolling in case of a roll revert: https://v8-roll.appspot.com/ This only works with a Google account. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel TBR=hablich@chromium.org,machenbach@chromium.org,littledan@chromium.org,vogelheim@chromium.org Review-Url: https://codereview.chromium.org/2195893003 Cr-Commit-Position: refs/heads/master@{#408865}
-
sadrul authored
Compositor frames submitted by mus clients include a flag to indicate whether the client is playing a video or not. This information is plumbed through from cc::Layer to cc::LayerImpl to cc::CompositorFrame[Metadata]. BUG=627140 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Review-Url: https://codereview.chromium.org/2140783002 Cr-Commit-Position: refs/heads/master@{#408864}
-
dgozman authored
We used to just extract string from the error, which didn't allow to inspect the error object itself. Now we pass the thrown object as a RemoteObject. This also unifies exceptions with promise rejections in V8Debugger. BUG=631162,632405 Review-Url: https://codereview.chromium.org/2170263002 Cr-Commit-Position: refs/heads/master@{#408863}
-
thestig authored
https://pdfium.googlesource.com/pdfium.git/+log/6f10254..3e454bf BUG=409472,629839 TEST=bots TBR=ochang@chromium.org Review-Url: https://codereview.chromium.org/2193623005 Cr-Commit-Position: refs/heads/master@{#408862}
-
thestig authored
- Use the right repo for Ubuntu ARM(64) - Add checks for valid architectures so the "All" commands work. - Try to fix up some bashisms - And give up on the rest and just switch to bash BUG=632522 Review-Url: https://codereview.chromium.org/2193903004 Cr-Commit-Position: refs/heads/master@{#408861}
-
rbpotter authored
Print preview closed in gmail when gmail navigated to a new URL fragment. This occurred if print preview was requested just after making changes to an e-mail draft in a compose message window. Added check that will ensure print preview remains open in this case. BUG= 614998 Review-Url: https://codereview.chromium.org/2201543002 Cr-Commit-Position: refs/heads/master@{#408860}
-
alph authored
Make it always show all the object properties. BUG=632917 Review-Url: https://codereview.chromium.org/2188413004 Cr-Commit-Position: refs/heads/master@{#408859}
-
rickyz authored
BUG=None Review-Url: https://codereview.chromium.org/2198633002 Cr-Commit-Position: refs/heads/master@{#408858}
-
etienneb authored
This is a step toward a working Asan build with GN. There are still a few missing pieces to land. This patch is fixing an assert triggering due to courgette using an harcoded toolchains. ---------------------- ERROR at //build/config/sanitizers/sanitizers.gni:12:1: Assertion failed. assert(!using_sanitizer || is_clang, ^----- Sanitizers (is_*san) require setting is_clang = true in 'gn args' ---------------------- This patch is also fixing the compiler-rt runtime paths for a x64 bit build. The port of WinASAN-64 is almost done and should part of the next clang roll-deps. R=thakis@chromium.org, dpranke@chromium.org TBR=brettw@chromium.org BUG=598761 Review-Url: https://codereview.chromium.org/2192833002 Cr-Commit-Position: refs/heads/master@{#408857}
-
dgozman authored
BUG=631162 Review-Url: https://codereview.chromium.org/2189263004 Cr-Commit-Position: refs/heads/master@{#408856}
-
chrome-cron authored
Cr-Commit-Position: refs/heads/master@{#408855}
-
paulirish authored
Minor text change that clarifies our menu item for "show/hide console" is revealing the drawer in general. Users are confused that "show console" can reveal the "Search all files" functionality. BUG=522040 Review-Url: https://codereview.chromium.org/2191333003 Cr-Commit-Position: refs/heads/master@{#408854}
-
lushnikov authored
BUG=596181 R=dgozman Review-Url: https://codereview.chromium.org/2197653004 Cr-Commit-Position: refs/heads/master@{#408853}
-
smut authored
BUG=598405 Review-Url: https://codereview.chromium.org/2200553002 Cr-Commit-Position: refs/heads/master@{#408852}
-
lazyboy authored
BUG=None Test=None, internal change. Review-Url: https://codereview.chromium.org/2197483004 Cr-Commit-Position: refs/heads/master@{#408851}
-
xidachen authored
Without resize, this function works like this: It creates a ImageBuffer, and calls video->paintCurrentFrame to the SkCanvas backed by the buffer, then it calls buffer's snapshot to get a SkImage. To make resize efficient, we just need to carefully calculate the parameter for the video->paintCurrentFrame, and we can do the resize in one pass. BUG=627855 Review-Url: https://codereview.chromium.org/2192103002 Cr-Commit-Position: refs/heads/master@{#408850}
-
kozyatinskiy authored
Method will call callback when promise is fulfilled, rejected or collected. BUG=632875 R=dgozman@chromium.org Review-Url: https://codereview.chromium.org/2185233002 Cr-Commit-Position: refs/heads/master@{#408849}
-
dgozman authored
BUG=none Review-Url: https://codereview.chromium.org/2190353004 Cr-Commit-Position: refs/heads/master@{#408848}
-
dschuyler authored
This CL changes the overscroll padding so that it will be empty (zero height) if no overscroll is needed to bring the selection to the top of the window. This Cl does not fix the overscroll during window resizing or hide the overscroll when scrolling up. Those will be in a future CL. BUG=631332 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2201553002 Cr-Commit-Position: refs/heads/master@{#408847}
-
thomasanderson authored
BUG=632841 Review-Url: https://codereview.chromium.org/2195063003 Cr-Commit-Position: refs/heads/master@{#408846}
-
dgozman authored
BUG=631162 Review-Url: https://codereview.chromium.org/2192093004 Cr-Commit-Position: refs/heads/master@{#408845}
-
v8-autoroll authored
Summary of changes available at: https://chromium.googlesource.com/v8/v8/+log/8d5d2145..6b119eb8 Please follow these instructions for assigning/CC'ing issues: https://github.com/v8/v8/wiki/Triaging%20issues Please close rolling in case of a roll revert: https://v8-roll.appspot.com/ This only works with a Google account. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel TBR=hablich@chromium.org,machenbach@chromium.org,littledan@chromium.org,vogelheim@chromium.org Review-Url: https://codereview.chromium.org/2195013004 Cr-Commit-Position: refs/heads/master@{#408844}
-
kozyatinskiy authored
Script can be null. BUG=607532 R=lushnikov@chromium.org Review-Url: https://codereview.chromium.org/2198443004 Cr-Commit-Position: refs/heads/master@{#408843}
-
dpapad authored
BUG=632575 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2196613003 Cr-Commit-Position: refs/heads/master@{#408842}
-
dschuyler authored
This CL updates the permission dropdown menu so that it matches the mocks better. BUG=632535 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2190243002 Cr-Commit-Position: refs/heads/master@{#408841}
-
rjkroege authored
Use mojo to control the cursor in ozone drm in mus. First in a series of patches to convert Ozone IPC to mojo. BUG=620927 Review-Url: https://codereview.chromium.org/2156093004 Cr-Commit-Position: refs/heads/master@{#408840}
-
spqchan authored
Make sure that the download shelf items are updated after we exit fullscreen. BUG=600411 Review-Url: https://codereview.chromium.org/2148483002 Cr-Commit-Position: refs/heads/master@{#408839}
-
eostroukhov authored
R=dgozman, pfeldman BUG= Review-Url: https://codereview.chromium.org/2192333002 Cr-Commit-Position: refs/heads/master@{#408838}
-
mohsen authored
Currently, in Ash tests, material design mode is set after call to AshTestBase::SetUp(). This is not right as some setup in AshTestBase might depend on material mode. This CL allows setting material mode before calling AshTestBase::SetUp(). BUG=620093 Review-Url: https://codereview.chromium.org/2186363002 Cr-Commit-Position: refs/heads/master@{#408837}
-
pfeldman authored
DevTools: do not CHECK devtools messages received from renderer in the browser, issue bad_message instead. BUG=629307 Review-Url: https://codereview.chromium.org/2198503002 Cr-Commit-Position: refs/heads/master@{#408836}
-
alph authored
Traverse the links during building postorder iterator as well as the dominator tree. Review-Url: https://codereview.chromium.org/2197853002 Cr-Commit-Position: refs/heads/master@{#408835}
-
thomasanderson authored
Needed by https://codereview.chromium.org/2163623003/ Review-Url: https://codereview.chromium.org/2188403003 Cr-Commit-Position: refs/heads/master@{#408834}
-
lushnikov authored
BUG=595356 R=dgozman Review-Url: https://codereview.chromium.org/2198463003 Cr-Commit-Position: refs/heads/master@{#408833}
-
catapult-deps-roller authored
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/a6464cb626ec..e689c4714834 $ git log a6464cb62..e689c4714 --date=short --no-merges --format='%ad %ae %s' TBR=catapult-sheriff@chromium.org Review-Url: https://codereview.chromium.org/2192323002 Cr-Commit-Position: refs/heads/master@{#408832}
-
skia-deps-roller authored
https://chromium.googlesource.com/skia.git/+log/848904e5b356..fe2042e60fa7 $ git log 848904e5b..fe2042e60 --date=short --no-merges --format='%ad %ae %s' 2016-07-29 mtklein SkRasterPipeline: new APIs for fusion 2016-07-29 mtklein simplify neon shifts 2016-07-29 bsalomon If scissor would be empty in GrClipMaskManager::SetupClipping indicate draw can be skipped. 2016-07-29 csmartdalton Add ES 3.0 fallback for instanced rendering BUG=632185 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel TBR=tomhudson@google.com Review-Url: https://codereview.chromium.org/2201533002 Cr-Commit-Position: refs/heads/master@{#408831}
-
alokp authored
Review-Url: https://codereview.chromium.org/2091893003 Cr-Commit-Position: refs/heads/master@{#408830}
-