- 27 Feb, 2018 4 commits
 - 
- 
James Cook authored
Bug: none Change-Id: Ieb2a2dac242e39d6bef8a0eeddf33a6d39b5c951 Reviewed-on: https://chromium-review.googlesource.com/933249Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#539314}
 - 
David Benjamin authored
Bug: 714018 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: Icb3d2393ddf8cec56ceeb7a8c1adb1fe1be3b7ef Reviewed-on: https://chromium-review.googlesource.com/935781 Commit-Queue: David Benjamin <davidben@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#539313}
 - 
Candice Sy authored
Use an empty progress bar instead of an indeterminate progress bar for pending downloads in Downloads Home. Bug: 796324 Change-Id: I9ecd0e244aec8527449e7c30af6a314b93e9fb81 Reviewed-on: https://chromium-review.googlesource.com/933298Reviewed-by:
David Trainor <dtrainor@chromium.org> Reviewed-by:
Cathy Li <chili@chromium.org> Reviewed-by:
Joy Ming <jming@chromium.org> Commit-Queue: Candice Sy <cmsy@google.com> Cr-Commit-Position: refs/heads/master@{#539312}
 - 
James Forshaw authored
This CL converts AppContainerProfile to use a virtual interface. This is due to different parts of Chrome compiling the code differently which can result in crashes when releasing the profile. Test=service_manager_unittests.exe Bug: 812590 Change-Id: I0a154099ca37eedd82cfc22041e986e0ce0318cc Reviewed-on: https://chromium-review.googlesource.com/925602 Commit-Queue: James Forshaw <forshaw@chromium.org> Reviewed-by:
Will Harris <wfh@chromium.org> Cr-Commit-Position: refs/heads/master@{#539311}
 
 - 
 - 26 Feb, 2018 36 commits
 - 
- 
Mike Dougherty authored
Run the exsiting context menu Earl Grey tests with both the |kContextMenuElementPostMessage| feature flag disabled and enabled. Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I6f838fb459d31d1d4309f3acf794f8f56f14c098 Reviewed-on: https://chromium-review.googlesource.com/930580 Commit-Queue: Mike Dougherty <michaeldo@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#539310}
 - 
Nick Carter authored
This special case would have been hard to port to the network service. It's easier to just force the net_error_helper to issue a CORS-enabled request, which https://www.googleapis.com/rpc readily understands. A browsertest is added to explicitly test that CORB is applied to subresources loaded by error pages. Currently this test fails; we'll fix that in a separate CL. Manual testing: in an official/branded Chrome build, navigate to "http://blog.thestranger.com" and on the resulting DNS error page, observe a suggested correction link (of "http://thestranger.com/blog"). Repeat these steps with a chrome://net-internals trace running, and observe a request to "https://www.googleapis.com/rpc" that has the "Origin: null" request header, and which includes an "Access-Control-Allow-Origin: *" header in the response. BUG=814913,792546 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: Ib7434bd52a27909dd67c5e9a867db1dab7090d59 Reviewed-on: https://chromium-review.googlesource.com/927561Reviewed-by:
Matt Menke <mmenke@chromium.org> Reviewed-by:
Łukasz Anforowicz <lukasza@chromium.org> Commit-Queue: Nick Carter <nick@chromium.org> Cr-Commit-Position: refs/heads/master@{#539309}
 - 
Thomas Guilbert authored
This CL adds the java MediaController interface. It exposes simple commands to control media content. It is modelled after the media router's Mojo MediaController interface. The only implementer for the moment is the RemoteMediaPlayerWrapper, but the interface is simple enough to be reused whenever we switch to Cast SDK V3. This CL also stores the current CastSession's presentation ID in the ChromeCastSessionManager. We then use that ID to make sure that a given presentation ID is still current, before returning a MediaController to issue commands to the current RemotingCastSession. Bug: 790766 Change-Id: Ia49552cf748eaa7837cacafae05a3897fa2ec21d Reviewed-on: https://chromium-review.googlesource.com/905573 Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by:
Derek Cheng <imcheng@chromium.org> Reviewed-by:
Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#539308}
 - 
Primiano Tucci authored
This CL cleans up the hack put in place in base::Singleton to reset the TraceLog instance in tests, in favour of a least worst hack to reset the instance within trace_log.cc . Other than cleaning up singleton.h, this also removes a TSan violation caused by calling Singleton::OnExit() (see bug). The violation was reported, I believe, for the following reason: - A thread (that ends before the test reaches TearDown()) accesses the Singleton instance pointer in GetOrCreateLazyPointer with a load-acquire. - TearDown() clears up the Singleton instance pointer with a non-barriered write. This is enough to make TSan conclude "this will be racy" even if the race doesn't happen (because of causality in the TearDown(), all threads created by the tests should be gone once there). This CL fixes the problem by switching TraceLog's singleton to a base::NoDestructor. This should also make TraceLog::GetInstance slightly faster in production builds as it removes one layer of pointer dereferencing (Singleton's instance is heap-based, base::NoDestructor is bss-based). The ResetForTesting method is implemented by simply invoking the destructor, clearing up the static storage and re-placement-new-ing the object. This keeps the pointer returned by GetInstance() unchanged, but still achieves the reset needed by tests. Bug: 815234 TBR: rouslan@chromium.org Change-Id: I4c0dfc33ea45e64f36234da2006ece96905914b9 Reviewed-on: https://chromium-review.googlesource.com/935841Reviewed-by:
Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:
Lei Zhang <thestig@chromium.org> Commit-Queue: Primiano Tucci <primiano@chromium.org> Cr-Commit-Position: refs/heads/master@{#539307}
 - 
Fredrik Söderquist authored
After https://chromium-review.googlesource.com/716679, this method has no callers. Remove it. Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I3e2f427c8349bfa410718cd24782f64c7ad2e0e0 Reviewed-on: https://chromium-review.googlesource.com/735861Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#539306}
 - 
https://chromium.googlesource.com/catapult.git/+log/4607515962f8..38e8eedc7bb6 $ git log 460751596..38e8eedc7 --date=short --no-merges --format='%ad %ae %s' 2018-02-14 eakuefner Reland "[Telemetry] Remove FailureValue from the value system" Created with: roll-dep src/third_party/catapult The AutoRoll server is located here: https://catapult-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. TBR=sullivan@chromium.org Change-Id: I44eef5e712b51553df53aaae55ac2da2eecaabaf Reviewed-on: https://chromium-review.googlesource.com/938182 Commit-Queue: catapult-chromium-autoroll <catapult-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Reviewed-by:
catapult-chromium-autoroll <catapult-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#539305}
 - 
Daniel Murphy authored
Since the tab restore code keeps a reference to the session namespaces of recently closed tabs (see sessions::ContentPlatformSpecificTabData and sessions::TabRestoreService), a SessionStorageNamespaceImpl can outlive the destruction of the browser window. A session restore can also happen without the browser context being shutdown or destroyed in between. This change keeps track of all 'alive' namespaces in a map. When a SessionStorageNamespaceImpl is created and there is an entry alive in that map, then that object is used instead. This allows the browser to re-use objects that are still alive thanks to the sessions component. Bug: 811189 Change-Id: I5c9e94ab4fe7b0017264c0f8f522d20134ea0c2b Reviewed-on: https://chromium-review.googlesource.com/930325 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Reviewed-by:
Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#539304}
 - 
Lei Zhang authored
Change-Id: I22a02aaf461e425d5a1742370036a08c60319d69 Reviewed-on: https://chromium-review.googlesource.com/935757 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by:
Joshua Pawlicki <waffles@chromium.org> Cr-Commit-Position: refs/heads/master@{#539303}
 - 
Chong Zhang authored
http/tests/devtools/oopif/oopif-cookies-refresh.js failing since it's added in r539268 http/tests/devtools/network/oopif-targets.js turned into flaky instead of crash. (The original DCHECK was changed) TBR=kinuko@chromium.org NOTRY=true Bug: 805310 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I92e5b76383a0b882459e0f4853269a12c1eb8de9 Reviewed-on: https://chromium-review.googlesource.com/938649 Commit-Queue: Chong Zhang <chongz@chromium.org> Reviewed-by:
Chong Zhang <chongz@chromium.org> Cr-Commit-Position: refs/heads/master@{#539302}
 - 
Krishna Govind authored
R=abdulsyed@chromium.org Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I64812517880f954b9c8f27d773b495eabe01bbfc Reviewed-on: https://chromium-review.googlesource.com/938663Reviewed-by:
Krishna Govind <govind@chromium.org> Cr-Commit-Position: refs/heads/master@{#539301}
 - 
Hongchan Choi authored
This CL adds |currentFrame| property to AudioWorkletGlobalScope according to: https://github.com/WebAudio/web-audio-api/pull/1493. 1. Previously the time stamp (currentTime) was updated when the first worklet processor gets called, and it was inconsistent with how it is updated in the other nodes. Now updating the frame number is streamlined, so the worklet processor also gets the same treatment. 2. In order to streamline this process, WorkerThread reference was added to BaseAudioContext. Due to the GC rule, BaseAudioContext cannot keep a reference of WorkletGlobalScope, so it always derives the global scope from the worker thread. Bug: 814794 Test: http/tests/webaudio/audio-worklet/timing-info.html Change-Id: I4b313377d80f8678c473cf788211e373fd1644cb Reviewed-on: https://chromium-review.googlesource.com/935157 Commit-Queue: Hongchan Choi <hongchan@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#539300}
 - 
Majid Valipour authored
Intent to Experiment: https://groups.google.com/a/chromium.org/d/msg/blink-dev/AZ-PYPMS7EA/DEqbe2u5BQAJ Bug: 811922 Change-Id: I967df8e38d55cffc985ca8982f3762e95aa08ae7 Reviewed-on: https://chromium-review.googlesource.com/917125 Commit-Queue: Majid Valipour <majidvp@chromium.org> Reviewed-by:
Jeremy Roman <jbroman@chromium.org> Reviewed-by:
Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/master@{#539299}
 - 
Eugene But authored
DownloadManagerCoordinator should not present another view controller if in existing download is replaced with a new download. Instead coordinator should simply update the UI by setting new download task to mediator. Bug: 815366 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I0298b2be999be9acda3c200a8182ba425b318010 Reviewed-on: https://chromium-review.googlesource.com/935840 Commit-Queue: Eugene But <eugenebut@chromium.org> Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#539298}
 - 
Nasko Oskov authored
Change-Id: I27c3d145a2eef11930f16afbb33e73ba60f243c9 Reviewed-on: https://chromium-review.googlesource.com/937901Reviewed-by:
Charlie Reis <creis@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Commit-Queue: Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#539297}
 - 
Dirk Pranke authored
The network traffic annotation checks are too slow to be run in the main CQ, so we're setting up an additional (FYI) bot to run the full check (and a matching optional trybot). R=jbudorick@chromium.org BUG=815295 Change-Id: I16c2bd8cdb2bf10178f1bcd9904b15a1ab90bc8b Reviewed-on: https://chromium-review.googlesource.com/935625 Commit-Queue: Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Reviewed-by:
John Budorick <jbudorick@chromium.org> Cr-Commit-Position: refs/heads/master@{#539296}
 - 
Matthew Jones authored
BUG=750381 Change-Id: Ieac331636c7c5ff495ff3498cd606ce66fcd2561 Reviewed-on: https://chromium-review.googlesource.com/938395Reviewed-by:
David Trainor <dtrainor@chromium.org> Commit-Queue: Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#539295}
 - 
v8-autoroll authored
Summary of changes available at: https://chromium.googlesource.com/v8/v8/+log/c1be8e2e..ea820a19 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_trusty_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;master.tryserver.chromium.android:android_optional_gpu_tests_rel TBR=hablich@chromium.org,machenbach@chromium.org,kozyatinskiy@chromium.org,sergiyb@chromium.org Change-Id: I603c5a37f8ed260bc5346a41b791ec35d1b1871e Reviewed-on: https://chromium-review.googlesource.com/938121Reviewed-by:
v8 autoroll <v8-autoroll@chromium.org> Commit-Queue: v8 autoroll <v8-autoroll@chromium.org> Cr-Commit-Position: refs/heads/master@{#539294}
 - 
chcunningham authored
The spec allows for anywhere between 15 - 250 ms to fire periodic timeupdate events. These events trigger UI updates on custom media controls, so don't want to over trigger. Historically we _aim_ to fire every 250 ms (4x/sec) during playback. Some bugs: 1) The internal timer often fires a little early, causing frequency guards to fail and delaying the event until the next 250ms cyle. 2) Non-periodic timeupdates in the middle of the periodic cycle cause the next periodic update to be delayed a full cycle. 3) Periodic timeupdates were being scheduled by both CueTimeline and HTMLMediaElement 4) Post-seek timeupdates were being double scheduled This patch remedies (2) by resetting the timer to delay periodic updates following a non-periodic timeupdate by a consistent 250ms. Resetting the timer also allows us to remove the frequency checks, which fixes (1) (3) and (4) are fixed by removing the double scheduling. Kudos to dongheun.kang@lge.com for first addressing some of the above in https://chromium-review.googlesource.com/c/chromium/src/+/888383 Bug: 796557 Change-Id: Ia16689b2ea79c77e31b73cf96cd570ca7641bded Reviewed-on: https://chromium-review.googlesource.com/896624 Commit-Queue: Chrome Cunningham <chcunningham@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#539293}
 - 
Matt Mueller authored
Bug: 690704 Change-Id: Ic13f3545762124355279fbcb20b5187f6e77ce21 Reviewed-on: https://chromium-review.googlesource.com/933621Reviewed-by:
Eric Roman <eroman@chromium.org> Commit-Queue: Matt Mueller <mattm@chromium.org> Cr-Commit-Position: refs/heads/master@{#539292}
 - 
Wei Li authored
Handle two cases with dead subframes for pdf composition: -- When a web page has a dead subframe prior to printing, we need to detect the liveness of the subframe, and avoid requesting printing for such frame; -- If after we request printing a subframe, the subframe dies, we add monitoring for render frame's closed event to check whether it is one of our pending ones. If so, notify pdf compositor service about that. We add an interface in pdf compositor service to be notified about the frame's unavailability for either of the above cases. In this CL, we also add a map to record the subframes that are already printed and use it to avoid printing the same ones repeatedly. BUG=814086 Change-Id: Ibd69dd21a6498a5c2784dfe892bc5803e84fa6f0 Reviewed-on: https://chromium-review.googlesource.com/932018 Commit-Queue: Wei Li <weili@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#539291}
 - 
Sarah Hu authored
Bug: 798325 Change-Id: Icc0e4a8e6e61b01e5736d52e65632b3e47a1f0d6 Reviewed-on: https://chromium-review.googlesource.com/936003 Commit-Queue: Xiaoyin Hu <xiaoyinh@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#539290}
 - 
Dominic Mazzoni authored
Bug: 610744 Change-Id: If7f3c8c5c3d7c2aaa5ae3608b52101dc55529676 Tbr: aboxhall@chromium.org Reviewed-on: https://chromium-review.googlesource.com/938361Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#539289}
 - 
Dominic Mazzoni authored
We have logic to iterate over all frames and wait for them to finish loading, but that logic doesn't work if there are two frames with the same url. Change the test to use frames with different urls. Bug: 805998 Change-Id: I4d7d514cc0d638a95b2ddf445a7dbf59f1d73cef Tbr: aboxhall@chromium.org Reviewed-on: https://chromium-review.googlesource.com/938028Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#539288}
 - 
https://pdfium.googlesource.com/pdfium.git/+log/611431decd9a..0bc02c152bd0 $ git log 611431dec..0bc02c152 --date=short --no-merges --format='%ad %ae %s' 2018-02-26 tsepez Add some more missing consts. Created with: roll-dep src/third_party/pdfium The AutoRoll server is located here: https://pdfium-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. TBR=dsinclair@chromium.org Change-Id: I93248936cf499783ce943e706802c21e30356fc9 Reviewed-on: https://chromium-review.googlesource.com/938481Reviewed-by:
pdfium-chromium-autoroll <pdfium-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Commit-Queue: pdfium-chromium-autoroll <pdfium-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#539287}
 - 
Dominic Mazzoni authored
Bug: 515053 Change-Id: I6e79f56bf0571bdbe50cea0c1e4448e148f521cd Tbr: aboxhall@chromium.org Reviewed-on: https://chromium-review.googlesource.com/938262Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#539286}
 - 
Aaron Leventhal authored
The correct accessibility alert event was fired but screen readers ignored it since it was not on an object with the alert role. Bug: 812647 Change-Id: Id0cc1fbcbaeaeb20e2ef546b463304a3aaaa1af3 Reviewed-on: https://chromium-review.googlesource.com/924884Reviewed-by:
Evan Stade <estade@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Cr-Commit-Position: refs/heads/master@{#539285}
 - 
Dominic Mazzoni authored
Bug: 708759 Change-Id: I70bf3f5d7fdb6e4e9dded28d34751fd8a3ee02db Tbr: aboxhall@chromium.org Reviewed-on: https://chromium-review.googlesource.com/938153Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#539284}
 - 
Troy Hildebrandt authored
We currently force the text in the URL bar to display LTR if the URL bar is unfocused. This CL avoids that if we're displaying query terms instead. Bug: 776988 Change-Id: I563b903c24435adcfca9dad7efcaec3dd64770fa Reviewed-on: https://chromium-review.googlesource.com/935474Reviewed-by:
Ted Choc <tedchoc@chromium.org> Commit-Queue: Troy Hildebrandt <thildebr@chromium.org> Cr-Commit-Position: refs/heads/master@{#539283}
 - 
Wez authored
Remove some duplication of code responsible for waiting for processes to exit on POSIX: - Use Process::WaitForExit[WithTimeout]() inside Process::Terminate(wait=true), to wait for the process to exit in response to SIGTERM, before giving up and issuing a SIGKILL. - Process::Terminate() will no longer record the process as Exited() except when wait=true and the process did actually exit. - The EnsureProcessTerminated() and EnsureProcessReaped() helpers are also migrated to use Process::WaitForExit[WithTimeout]() internally. Bug: 806451 Change-Id: I69b4b18ab040adcb1339a55036b679e6cd6809d2 Reviewed-on: https://chromium-review.googlesource.com/920922 Commit-Queue: Wez <wez@chromium.org> Reviewed-by:
Jochen Eisinger <jochen@chromium.org> Reviewed-by:
Brian White <bcwhite@chromium.org> Reviewed-by:
Mark Mentovai <mark@chromium.org> Cr-Commit-Position: refs/heads/master@{#539282}
 - 
Steven Holte authored
Records URLs of all NavigationContexts for URL whitelisting, and makes last committed IDs available for WebState objects. Bug: 792662 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: If512086a73a893e8e0c4c49df28b4ef624764761 Reviewed-on: https://chromium-review.googlesource.com/877398 Commit-Queue: Steven Holte <holte@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Reviewed-by:
Brian White <bcwhite@chromium.org> Cr-Commit-Position: refs/heads/master@{#539281}
 - 
Khushal authored
When taking a snapshot from an SkSurface, it internally maintains a cached copy of the SkImage which is invalidated only when the canvas contents change. This ensures re-using cached texture uploads from this image on subsequent uses. However, when building a PaintImage using this SkImage we generate a new content id for each draw, resulting in a cache miss on cc's decode cache and re-upload with color conversion. Ensure that we use a stable PaintImage::ContentId for the same SkImage. R=junov@chromium.org Bug: 814226, 814219 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Ie1d8ebb40ccf98593dac3e6f65ca705054e6d90b Reviewed-on: https://chromium-review.googlesource.com/932942 Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by:
Justin Novosad <junov@chromium.org> Cr-Commit-Position: refs/heads/master@{#539280}
 - 
Reza.Zakerinasab authored
Bug:816645 Change-Id: Ifecbd85be7b27e5193d63089a1e0222c3674d1c9 TBR=sky@chromium.org Change-Id: Ifecbd85be7b27e5193d63089a1e0222c3674d1c9 Reviewed-on: https://chromium-review.googlesource.com/938387 Commit-Queue: Mohammad Reza Zakerinasab <zakerinasab@chromium.org> Reviewed-by:
Mohammad Reza Zakerinasab <zakerinasab@chromium.org> Cr-Commit-Position: refs/heads/master@{#539279}
 - 
Christopher Thompson authored
This adds a histogram for tracking the PageEndReason in the SecurityStatePageLoadMetricsObserver for pages during OnComplete (so tracking committed page loads only), split up by the final SecurityLevel of the page. This also adds histograms for tracking the time on page split by final SecurityLevel, and the security level at OnCommit and at OnComplete. Modifies the PageEndReason enum to be explicitly numbered, and added it to enums.xml for histogram tracking. Adds histogram tracking to each relevant browser test for the SSPLMO, and adds a new test for the page being reloaded. This also changes the behavior of the SSPLMO slightly. Before, if the SiteEngagementService did not exist, the SSPLMO would not get created. Now, it gets created, but the SiteEngagement tracking pieces are gated on the SiteEngagementService existing. Bug: 803540 Change-Id: Ic368dd3cb86557f147f49a7206c9919c93ec1a3b Reviewed-on: https://chromium-review.googlesource.com/914468 Commit-Queue: Christopher Thompson <cthomp@chromium.org> Reviewed-by:
Charlie Harrison <csharrison@chromium.org> Reviewed-by:
Robert Kaplow <rkaplow@chromium.org> Cr-Commit-Position: refs/heads/master@{#539278}
 - 
Morten Stenshorne authored
TBR=eae@chromium.org Bug: 816614 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Icc16b53ce783c24072901a9d1ddb658e8c54f589 Reviewed-on: https://chromium-review.googlesource.com/938401 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by:
Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#539277}
 - 
Khushal authored
When using a non-lazy (bitmap) image in the GPU cache, we assume the upload to be scaled at the mip-level required for draw, when we actually use the original image for the upload. Fix this by considering non-lazy scaled images as lazy generated. This also ensures we use lower gpu memory, by caching downscaled uploads. R=ericrk@chromium.org Bug: 815045, 814219 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_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 Change-Id: I4b7d3f4edbcf0e5ba5574512f662a3fdf53cabd6 Reviewed-on: https://chromium-review.googlesource.com/935441Reviewed-by:
Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Eric Karl <ericrk@chromium.org> Commit-Queue: Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#539276}
 - 
Nektarios Paisios authored
R=dmazzoni@chromium.org, aleventhal@chromium.org Change-Id: Icc2d9d0fedbeb4f2c99cccd7a9120b92b3375ad9 Reviewed-on: https://chromium-review.googlesource.com/922806 Commit-Queue: Nektarios Paisios <nektar@chromium.org> Reviewed-by:
Nektarios Paisios <nektar@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#539275}
 
 -