- 09 Dec, 2016 40 commits
-
-
toyoshim authored
We used CHECKs to confirm if these checks are valid and can survive on Canary. Now that we know these are correct, let's make it back to DCHECKs. BUG=670638 Review-Url: https://codereview.chromium.org/2558433002 Cr-Commit-Position: refs/heads/master@{#437510}
-
shans authored
algorithms to the coordinator rather than run them directly. (This is step 5 of https://docs.google.com/document/d/1vUmyaZoIqnVyvqAf5lFhnh_BdHYknLqViLISZiy-Iek/edit#) BUG=636993 Review-Url: https://codereview.chromium.org/2519263002 Cr-Commit-Position: refs/heads/master@{#437509}
-
yutak authored
This patch adjusts the algorithm of toIntegralType(), which parses an integer value out of a string. Previously, toIntegralType() used a positive number as an accumulator regardless of whether we had seen the negative sign or not, and it inverted the accumulator value if there had been a negative sign. This causes an integer overflow when INT_MIN is specified as the source string, because the absolute value of INT_MIN is one larger than that of INT_MAX. This patch fixes this issue by accumulating a negative value if the result will be negative. Also, the detection algorithm of overflows is updated so that it can detect overflows correctly in every possible case (it used to have a small bug that the function fails to parse INT_MIN in base 16). Additionally, unit tests are added. BUG=665110 Review-Url: https://codereview.chromium.org/2563643002 Cr-Commit-Position: refs/heads/master@{#437508}
-
tzik authored
BUG=661171 Review-Url: https://codereview.chromium.org/2561753002 Cr-Commit-Position: refs/heads/master@{#437507}
-
olivierrobin authored
Also fix the seen merge logic. BUG=651041 Review-Url: https://codereview.chromium.org/2558183004 Cr-Commit-Position: refs/heads/master@{#437506}
-
hayato authored
updateDistribution() is no longer required here since slotname-to-slot hashmap is dynamically updated at the timing of DOM mutations. BUG=671311 Review-Url: https://codereview.chromium.org/2559373003 Cr-Commit-Position: refs/heads/master@{#437505}
-
alancutter authored
This patch replaces PropertyInterpolationTypesMapping with CSS and SVG InterpolationTypesMap classes that are provided to InvalidatableInterpolation objects via the InterpolationEnvironment. InvalidatableInterpolations are no longer provided with the list of InterpolationTypes at construction, now they retrieve the list at effect application time during applyStack(). This is in preparation for supporting smooth animation of registered custom properties. BUG=671904 Committed: https://crrev.com/3ac8b90fcbda4c6e3ef484140751cd0341b31c48 Committed: https://crrev.com/dbf9ff76db17cc97436ee43a53ff269af3a45231 Review-Url: https://codereview.chromium.org/2555923003 Cr-Original-Original-Commit-Position: refs/heads/master@{#437381} Cr-Original-Commit-Position: refs/heads/master@{#437474} Cr-Commit-Position: refs/heads/master@{#437504}
-
nhiroki authored
Several functions in InProcessWorkerObjectProxy and ThreadedWorkletObjectProxy are common. This CL introduces ThreadedMessagingProxyBase class, factors out the functions into the base class and makes the both proxies inherit it. [Class relationships after this CL] On MainThread / On WorkerThread ThreadedMessagingProxyBase / ThreadedObjectProxyBase - InProcessWorkerMessagingProxy / - InProcessWorkerObjectProxy - ThreadedWorkletMessagingProxy / - ThreadedWorkletObjectProxy BUG=667357 Review-Url: https://codereview.chromium.org/2566623002 Cr-Commit-Position: refs/heads/master@{#437503}
-
v8-autoroll authored
Summary of changes available at: https://chromium.googlesource.com/v8/v8/+log/46bd8103..72905fa4 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 TBR=hablich@chromium.org,machenbach@chromium.org,littledan@chromium.org,vogelheim@chromium.org Review-Url: https://codereview.chromium.org/2566653002 Cr-Commit-Position: refs/heads/master@{#437502}
-
alemate authored
This CL addresses a few problems with #ifdefs: 1) DCHECK requires the presence of variables used in it even if DCHECK_IS_ON() evaluates to 0. Therefore, if debug variable is defined only when DCHECK_IS_ON() is true, its usage must be guarded the same way. 2) If debug method in base class is defined only when DCHECK_IS_ON() is true, its descendants must be guarded with the same check. BUG=666660 Review-Url: https://codereview.chromium.org/2550403002 Cr-Commit-Position: refs/heads/master@{#437501}
-
yabinh authored
When length == 0, it should return a collasped range instead of a range with distance == 1. This is pre-CL of https://codereview.chromium.org/2530843003/ BUG=620549 Review-Url: https://codereview.chromium.org/2564763002 Cr-Commit-Position: refs/heads/master@{#437500}
-
xiaochengh authored
Function enclosingTextControl(Node*) is not supposed to change anything, and hence, is changed to take a const Node* instead. BUG=n/a Review-Url: https://codereview.chromium.org/2561633005 Cr-Commit-Position: refs/heads/master@{#437499}
-
kotenkov authored
BUG=672003 TEST=ParameterizedWebFrameTest.FindInPageJavaScriptUpdatesDOMProperOrdinal Review-Url: https://codereview.chromium.org/2548253005 Cr-Commit-Position: refs/heads/master@{#437498}
-
yhirano authored
Mark http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-worker.html as leaky BUG=672740 NOTRY=true TBR=asargent@chromium.org, grt@chromium.org, vasilii@chromium.org Review-Url: https://codereview.chromium.org/2562943002 Cr-Commit-Position: refs/heads/master@{#437497}
-
chromeos-commit-bot authored
Cr-Commit-Position: refs/heads/master@{#437496}
-
dgozman authored
It's an essential part of Timeline which should work in incognito mode. BUG=490148 Review-Url: https://codereview.chromium.org/2556803003 Cr-Commit-Position: refs/heads/master@{#437495}
-
yhirano authored
BUG=645667 NOTRY=true TBR=asargent@chromium.org, grt@chromium.org, vasilii@chromium.org Review-Url: https://codereview.chromium.org/2560143002 Cr-Commit-Position: refs/heads/master@{#437494}
-
horo authored
Currently the redirected document URL of ServiceWorkerProviderHost is not correctly set if skip_service_worker is set. This inconsistency is causing the renderer kill crashes in ServiceWorkerDispatcherHost::OnGetRegistration() and OnRegisterServiceWorker(). BUG=630496,630495 Review-Url: https://codereview.chromium.org/2562523003 Cr-Commit-Position: refs/heads/master@{#437493}
-
jiawei.shao authored
Chrome calls EnumDisplayDevices() to get details about display devices. On some Windows machines EnumDisplayDevices() can only get the mirror driver "RDPUDD Chained DD" with empty DeviceID and no physical display devices when Chrome is opened in a Remote Desktop session, which will cause the failure of launching the GPU process. This patch fixes this issue by skipping the check of DeviceID when the primary display device is "RDPUDD Chained DD" according to the result of EnumDisplayDevices() so that Chrome can obtain GPU information afterwards (in CollectDriverInfoD3D()). BUG=671539 CQ_INCLUDE_TRYBOTS=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 Review-Url: https://codereview.chromium.org/2557513005 Cr-Commit-Position: refs/heads/master@{#437492}
-
jkrcal authored
This CL introduces generic functions for parsing variation parameters into int, double, and bool (internally, variation parameters are represented by a string). The CL replaces some functions emulating this functionality in ntp_snippets by the new ones in variations. More clean-up in ntp_snippets is needed, left for further CLs. BUG=671979 Review-Url: https://codereview.chromium.org/2558743003 Cr-Commit-Position: refs/heads/master@{#437491}
-
jam authored
Don't run the prerendering tests that verify prerendering is cancelled for cross-process navigations under PlzNavigate. Prerendering has these tests since it requires only one render process is used for prerendering. Without PlzNavigate, it detects a cross-process navigation and cancels prerendering. However with PlzNavigate, this scenario doesn't exist since we only determine the (one) render process to use for prerendering after redirects have been followed. This fixes PrerenderBrowserTest.PrerenderCrossProcessServerRedirect PrerenderBrowserTest.PrerenderCrossProcessServerRedirectNoHang with PlzNavigate. BUG=504347 Review-Url: https://codereview.chromium.org/2560933002 Cr-Commit-Position: refs/heads/master@{#437490}
-
tyoshino authored
Split from https://codereview.chromium.org/2553803003/ BUG=671531 Review-Url: https://codereview.chromium.org/2553023002 Cr-Commit-Position: refs/heads/master@{#437489}
-
fjhenigman authored
BUG=angleproject:1423 CQ_INCLUDE_TRYBOTS=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 Review-Url: https://codereview.chromium.org/2556033002 Cr-Commit-Position: refs/heads/master@{#437488}
-
toyoshim authored
This patch fixes some style errors caused at the Blink style change, and some long living other style nits. BUG=670237 Review-Url: https://codereview.chromium.org/2553383002 Cr-Commit-Position: refs/heads/master@{#437487}
-
sashab authored
Made caption-side property independent. Also updated independent-inheritance-fast-path.html to include captionSide. Tested using independent-inheritance-fast-path.html. BUG=628043 Review-Url: https://codereview.chromium.org/2563443006 Cr-Commit-Position: refs/heads/master@{#437486}
-
lushnikov authored
Since our search is looking for found lines, not matches. This patch changes wording about search results to make this explicit. As a drive by, this patch starts using proper singular/plural nouns. BUG=585406 R=dgozman Review-Url: https://codereview.chromium.org/2558173004 Cr-Commit-Position: refs/heads/master@{#437485}
-
catapult-deps-roller authored
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/0b7222ff3002..df2363501bd7 $ git log 0b7222ff3..df2363501 --date=short --no-merges --format='%ad %ae %s' 2016-12-08 ksakamoto ChromeRendererHelper treats Chrome_InProcRendererThread as main thread 2016-12-08 benjhayden Reland Replace ValueSetOutputFormatter with HistogramSetJsonOutputFormatter. BUG=671730,651188 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, see: http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel TBR=catapult-sheriff@chromium.org Review-Url: https://codereview.chromium.org/2568433002 Cr-Commit-Position: refs/heads/master@{#437484}
-
yhirano authored
Revert of Make InvalidatableInterpolation's InterpolationTypes decided at effect application time (patchset #4 id:60001 of https://codereview.chromium.org/2555923003/ ) Reason for revert: Speculative revert for mass animation layout tests failures. Original issue's description: > Make InvalidatableInterpolation's InterpolationTypes decided at effect application time > > This patch replaces PropertyInterpolationTypesMapping with CSS and SVG > InterpolationTypesMap classes that are provided to InvalidatableInterpolation > objects via the InterpolationEnvironment. > > InvalidatableInterpolations are no longer provided with the list of > InterpolationTypes at construction, now they retrieve the list at effect > application time during applyStack(). > > This is in preparation for supporting smooth animation of registered > custom properties. > > BUG=671904 > > Committed: https://crrev.com/3ac8b90fcbda4c6e3ef484140751cd0341b31c48 > Committed: https://crrev.com/dbf9ff76db17cc97436ee43a53ff269af3a45231 > Cr-Original-Commit-Position: refs/heads/master@{#437381} > Cr-Commit-Position: refs/heads/master@{#437474} TBR=ericwilligers@chromium.org,timloh@chromium.org,alancutter@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=671904 Review-Url: https://codereview.chromium.org/2562933002 Cr-Commit-Position: refs/heads/master@{#437483}
-
sigbjornf authored
Iterations that don't update the underlying collection, can be done in-place. R= BUG= Review-Url: https://codereview.chromium.org/2555103004 Cr-Commit-Position: refs/heads/master@{#437482}
-
toyoshim authored
Now that ReloadType::MAIN_RESOURCE is default reload behavior and we do not need to use ReloadType::NORMAL any more, let's make ReloadType::NORMAL behavior same with one of ReloadType::MAIN_RESOURCE. BUG=670232 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2557633003 Cr-Commit-Position: refs/heads/master@{#437481}
-
yhirano authored
Revert of Add test for system tray network menu icon for extension-controlled networks (patchset #3 id:40001 of https://codereview.chromium.org/2558083003/ ) Reason for revert: NetworkingConfigDelegateChromeosTest.SystemTrayItem is failing on Linux Chromium OS ASan LSan Tests: see http://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=browser_tests&tests=SystemTrayItem. Original issue's description: > Add test for system tray network menu icon for extension-controlled networks > > Eventually extension-controlled network information will come out of a mojo > service. This provides test coverage to make sure the icon shows up in the > system tray menu. > > BUG=651157 > TEST=chrome browser_tests > > Committed: https://crrev.com/af700b84d792456061162fc8fdcd08065ad8773a > Cr-Commit-Position: refs/heads/master@{#437341} TBR=stevenjb@chromium.org,jamescook@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=651157 Review-Url: https://codereview.chromium.org/2563943002 Cr-Commit-Position: refs/heads/master@{#437480}
-
kbr authored
The last change caused a reliable failure on Linux AMD. BUG=671791 CQ_INCLUDE_TRYBOTS=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=zmo@chromium.org,geofflang@chromium.org NOTRY=true Review-Url: https://codereview.chromium.org/2566603002 Cr-Commit-Position: refs/heads/master@{#437479}
-
vmiura authored
SkPictureBuilder records DisplayItems and plays them into an SkPicture. GeneratedImage::drawPattern() was misusing SkPictureBuilder; using it to create a GraphicsContext and draw to it directly. It results in the pattern: 1) GraphicsContext::beginRecording() 2) Draw content to GraphicsContext 3) GraphicsContext::beginRecording() again 5) SkPicture picture = GraphicsContext::endRecording() This is hitting undefined behavior in SkPictureRecorder which happens to work but is a bug. This change removes SkPictureBuilder and records directly to a GraphicsContext. BUG=672618 Review-Url: https://codereview.chromium.org/2565433003 Cr-Commit-Position: refs/heads/master@{#437478}
-
ke.he authored
This patch is a subtask of "Decoupling Gamepad from //content". The Gamepad IPC messages are converted into mojo interfaces, so the GamepadBrowserMessageFilter doesn't need to extend BrowserMessageFilter anymore so we renamed it as GamepadMonitor. GamepadMonitor still extend GamepadConsumer interface. Each RenderProcessHost owns one GamepadMonitor. GamepadMonitor instance is created by "StrongBinding" and will be registered into the "ConsumerSet" of GamepadService. The base::SharedMemory handle are wrapped into mojo::SharedMemoryHandle and passed as parameter of mojo interface from Browser to Renderer, Renderer Process unwrap it to get the real shared memory contents. Note that to obtain a new SharedMemoryHandle to wrap in a Mojo handle we simply clone the existing one. While it's not obvious, this is functionally equivalent to the old approach of passing the peer handle: when the renderer unwraps the Mojo handle that it obtained into a base::SharedMemoryHandle, it fills in that handle with its own process ID. BUG=612330 Review-Url: https://codereview.chromium.org/2522843002 Cr-Commit-Position: refs/heads/master@{#437477}
-
bashi authored
On mobile devices, there are less available memory and high tab switching cost compared to desktop environments. Given that, it would make sense to throttle background renderers immediately. BUG=617492 Review-Url: https://codereview.chromium.org/2564623004 Cr-Commit-Position: refs/heads/master@{#437476}
-
yurak authored
- Remove HTMLFormElement argument from HTML element constructors - Remove HTMLFormElement argument from HTMLElementFactory - Update unit tests BUG=672359 Review-Url: https://codereview.chromium.org/2561043002 Cr-Commit-Position: refs/heads/master@{#437475}
-
alancutter authored
This patch replaces PropertyInterpolationTypesMapping with CSS and SVG InterpolationTypesMap classes that are provided to InvalidatableInterpolation objects via the InterpolationEnvironment. InvalidatableInterpolations are no longer provided with the list of InterpolationTypes at construction, now they retrieve the list at effect application time during applyStack(). This is in preparation for supporting smooth animation of registered custom properties. BUG=671904 Committed: https://crrev.com/3ac8b90fcbda4c6e3ef484140751cd0341b31c48 Review-Url: https://codereview.chromium.org/2555923003 Cr-Original-Commit-Position: refs/heads/master@{#437381} Cr-Commit-Position: refs/heads/master@{#437474}
-
pdfium-deps-roller authored
https://pdfium.googlesource.com/pdfium.git/+log/94afac986c9d..1babeeed9c25 $ git log 94afac986..1babeeed9 --date=short --no-merges --format='%ad %ae %s' 2016-12-08 dsinclair Change CFWL_Widget::GetMatrix to return the matrix Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, see: http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls TBR=dsinclair@chromium.org Review-Url: https://codereview.chromium.org/2563923002 Cr-Commit-Position: refs/heads/master@{#437473}
-
qiankun.miao authored
https://chromium.googlesource.com/external/khronosgroup/webgl.git/+log/f554de2..e9afa18 BUG=672380, 662644 TEST=bots CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2563603002 Cr-Commit-Position: refs/heads/master@{#437472}
-
yhirano authored
It has been marked as flaky on Win7 Debug but it is flaky on all debug bots. BUG=652187 NOTRY=true TBR=asargent@chromium.org, grt@chromium.org, vasilii@chromium.org Review-Url: https://codereview.chromium.org/2565653002 Cr-Commit-Position: refs/heads/master@{#437471}
-