- 30 Oct, 2015 40 commits
-
-
treib authored
BUG=381251 Review URL: https://codereview.chromium.org/1411773002 Cr-Commit-Position: refs/heads/master@{#357158}
-
stuartmorgan authored
When guessing the tranistion type for a URL change: - When possible, use specific information from the last main frame load request. - Fall back to guessing based on whether there has been a touch since the last URL change, rather than the last document change. This prevents changes that happen after, e.g., a replaceState from being assumed to be user-initiated. BUG=548636 TEST=On an iPhone with WKWebView enabled, follow a link on yahoo.com, then go back via the browser back button. It should return to the main page. Review URL: https://codereview.chromium.org/1409033004 Cr-Commit-Position: refs/heads/master@{#357157}
-
qiangchen authored
For the frames using GPU memory buffer, the REFERENCE_TIME is lost, and then WebMediaPlayerMS will not be able to apply rendering algorithm to enhance the rendering smoothness. In this CL, we make those frames to carry over the REFERENCE_TIME from original frame. BUG=545165 Review URL: https://codereview.chromium.org/1418923006 Cr-Commit-Position: refs/heads/master@{#357156}
-
ssid authored
The actual physical memory usage of tcmalloc cannot be obtained by GetNumericProperty. This accounts for the current_allocated_bytes, fragmentation and malloc metadata, and excludes the unmapped memory regions. This helps the user to understand how much memory is actually being used for the allocations that were made. This change is done only in chromium tree since the metadata_unmapped_bytes is added only in the chromium's tcmalloc in CL: www.crrev.com/10499004. This is to be used by malloc dump provider for tracing. BUG=546491 Review URL: https://codereview.chromium.org/1410353005 Cr-Commit-Position: refs/heads/master@{#357155}
-
mcasas authored
Every now and then a bug report would include WebRtc logs with an error string: this is generated in VideoCaptureDevice::Client::OnError() and has no origin information. This CL adds that in a way that clients add the classical FROM_HERE, so that the error log includes the originating file and line. Review URL: https://codereview.chromium.org/1418263006 Cr-Commit-Position: refs/heads/master@{#357154}
-
liberato authored
Cause any change in network state in HTMLMediaElement to repaint the media controls, since they rely on it silently during painting. BUG=545704 Review URL: https://codereview.chromium.org/1417683004 Cr-Commit-Position: refs/heads/master@{#357153}
-
rbyers authored
document.scrollingElement was added in M44, but apparently the ref build is currently older than that. Provide a temporary fallback without loosing the benefit of https://codereview.chromium.org/1428733002. CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_10_10_perf_bisect;tryserver.chromium.perf:win_perf_bisect;tryserver.chromium.perf:android_nexus5_perf_bisect BUG=549644 Review URL: https://codereview.chromium.org/1425723003 Cr-Commit-Position: refs/heads/master@{#357152}
-
fdoray authored
FILE_FLAG_SEQUENTIAL_SCAN is a hint to the system that a file will be read sequentially from beginning to end. It is required to pre-read modules efficiently. BUG=547794 Review URL: https://codereview.chromium.org/1424943006 Cr-Commit-Position: refs/heads/master@{#357151}
-
aelias authored
BUG= Review URL: https://codereview.chromium.org/1427133002 Cr-Commit-Position: refs/heads/master@{#357150}
-
rickyz authored
As far as I can tell, these have unused for at least the last 3 years. Review URL: https://codereview.chromium.org/1430763002 Cr-Commit-Position: refs/heads/master@{#357149}
-
wangxianzhu authored
We used it to pass GraphicsContext from PageOverlay to PageOverlay::Delegete implementors. Pass GraphicsContext directly. Skip cache in InspectorOverlay because view painted for the overlay may conflict with the view's real painting. BUG=536999 R=chrishtr@chromium.org TBR=dpranke@chromium.org (remove an extra include from src/components/test_runner.cc) Review URL: https://codereview.chromium.org/1412593003 Cr-Commit-Position: refs/heads/master@{#357148}
-
dalecurtis authored
Fails consistently on my Linux workstation and also seems to have trouble on a variety of bots that actually have camera hardware, so disable everywhere. The primary cause seems to be that this will flake other tests when run in parallel. BUG=417824 TEST=all media_unittests pass when a camera is attached. Review URL: https://codereview.chromium.org/1428853003 Cr-Commit-Position: refs/heads/master@{#357147}
-
bokan authored
I missed this null check in setScaleAndLocation. There's some edge cases, likely during loading, where we might get here without a frame. Also, until we figure out what to do with VisualViewport for OOPIF we could also have a null mainFrame. BUG=543945 Review URL: https://codereview.chromium.org/1431433005 Cr-Commit-Position: refs/heads/master@{#357146}
-
v8-autoroll authored
Summary of changes available at: https://chromium.googlesource.com/v8/v8/+log/b8500e4d..e35721ee Please follow these instructions for assigning/CC'ing issues: https://code.google.com/p/v8-wiki/wiki/TriagingIssues Please close rolling in case of a roll revert: https://v8-roll.appspot.com/ This only works with a Google account. TBR=hablich@chromium.org,machenbach@chromium.org,yangguo@chromium.org,vogelheim@chromium.org Review URL: https://codereview.chromium.org/1414703005 Cr-Commit-Position: refs/heads/master@{#357145}
-
charliea authored
I confirmed with simonhatch@ that this made sense given the way that the Chromium TracingController works. The agent will be communicating over a serial connection, which probably shouldn't be done synchronously. BUG=542837 Review URL: https://codereview.chromium.org/1407033008 Cr-Commit-Position: refs/heads/master@{#357144}
-
pedrosimonetti authored
This CL adds tests for regressions that have been fixed recently, some of them involving ContentViewCore. In order to be able to properly instrument the ContentViewCore, changes in the testing framework have been made. There are now a couple of wrapper classes: OverlayPanelContentWrapper and ContentViewCoreWrapper, which allow us to test for example if the onShow() method was ever called, or if URLs have been properly removed from local history when not seen. This CL also introduces a few more helpers to simulate searches caused by gestures (long press and tap) in a way that it encapsulates the simulation logic and prevent flakiness. We were manually doing a search term resolution by calling a fakeResponse() method. Sometimes we are calling this when not necessary (on long press) and tests don't call it in the same order. We are also assuming it completed when the Bar peeks (which works but under the wrong assumption). There are now simulateLongPressSearch(id) and simulateTapSearch(id) methods that simulate the search and handle the resolution automatically when the system requests one. There are several helper methods in ContextualSearchManagerTest that are similar but do slightly different things, and some assumptions are not quite correct which can and may be causing falkiness in some tests. A couple of examples are: tests rely on the change of state of the Panel in order to determine that animations/actions are done. The closed state was being changed before destroying the Contents. This is now fixed. Another example is the tapBasePageToClosePanel() helper method that wasn't properly working when the Panel was peeking while a long press selection is present. I believe this is the cause of the flakiness of 3 of our tests. The new search simulation method should help making our tests more robust and a followup CL is required to change existing tests to use the new methods, once it has been confirmed that the new methods work properly on existing test bots. BUG=543319 Review URL: https://codereview.chromium.org/1426683005 Cr-Commit-Position: refs/heads/master@{#357143}
-
sigbjornf authored
Follow up r355010 and arrange for persisted plugin widget disposal when the plugin is completely detached and removed from the tree. r355010 restricted disposal to not happen for persisted widgets when re-attaching, but also ended up not disposing for the fully-detached persistent plugin widget case. Lacking those, widgets would end up being finalized without their required dispose() having been called first. R=haraken BUG=544175 Review URL: https://codereview.chromium.org/1422503009 Cr-Commit-Position: refs/heads/master@{#357142}
-
erg authored
BUG=548694 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/1425693004 Cr-Commit-Position: refs/heads/master@{#357141}
-
phajdan.jr authored
BUG=none Review URL: https://codereview.chromium.org/1406973006 Cr-Commit-Position: refs/heads/master@{#357140}
-
pkotwicz authored
BUG=510485 Review URL: https://codereview.chromium.org/1412013008 Cr-Commit-Position: refs/heads/master@{#357139}
-
fmalita authored
Based on Fredrik Söderquist <fs@opera.com>'s idea. For <use>-instanced SVGPathElements, reuse the referenced Path object (now cached in SVGPath). This ensures that all <path> instances paint using the same SkPath, which in turn reduces the pressure on internal Skia path caches. BUG=skia:4527,549242 R=fs@opera.com Review URL: https://codereview.chromium.org/1425913004 Cr-Commit-Position: refs/heads/master@{#357138}
-
skia-deps-roller authored
Summary of changes available at: https://chromium.googlesource.com/skia/+log/c2e2977..f93982a CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=djsollen@google.com Commits in this roll: f93982a bsalomon@google.com Don't run nvpr on TSAN bot 21adcb9 halcanary@google.com DEPS: roll zlib: 20 new commits Review URL: https://codereview.chromium.org/1423423002 Cr-Commit-Position: refs/heads/master@{#357137}
-
robert.bradford authored
The error path for dealing with missing VCGT data was failing to free the loaded profile. Unfortunately due to https://crbug.com/549239 this error is occuring in the wild. The new unit tests at https://crrev.com/1430633003 cover this particular use case. BUG=None TEST=Inspection of error paths show no more leaks. Review URL: https://codereview.chromium.org/1430573006 Cr-Commit-Position: refs/heads/master@{#357136}
-
shanmuga.m authored
Drop SVGGraphicsElement.getTransformToElement as on SVG WG F2F: https://lists.w3.org/Archives/Public/www-svg/2015Aug/att-0009/SVGWG-F2F-minutes-20150824.html#item02 BUG=524432 Review URL: https://codereview.chromium.org/1406303007 Cr-Commit-Position: refs/heads/master@{#357135}
-
zmo authored
Revert of "webgl: optimize webgl.texSubImage2D(video) path." (patchset #3 id:40001 of https://codereview.chromium.org/1413833006/ ) Reason for revert: Reverting this due to the security concerns piman raised, also it broke video related texture tests on Android. Original issue's description: > Reland of "webgl: optimize webgl.texSubImage2D(video) path." > > Original CL: https://codereview.chromium.org/1315323006/ > Revert: https://codereview.chromium.org/1418513016 > > Reason for revert: > Reverting to address webgl_conformance_tests break in: > https://build.chromium.org/p/chromium.gpu/builders/Android%20Debug%20%28Nexus%209%29/builds/3534 > > Reason for reland: > There is a bug in glCopySubTextureCHROMIUM extension. GLES2DecoderImpl::DoCopySubTextureCHROMIUM/DoCompressedCopySubTextureCHROMIUM > uses ValidForTexture to check dimensions of source texture. If the source > texture is backed by GL Image, the decoder can report false positive error. > This CL doesn't use Texture::ValidForTexture() for GL Image. > > TEST=WebglConformance.conformance_textures_video_tex_image_and_sub_image_2d_with_video_* > BUG=349871, 504773, 549531 > > Committed: https://crrev.com/7c26f04cf12c2c72fdab8e4764faf9305724c7ee > Cr-Commit-Position: refs/heads/master@{#357100} TBR=kbr@chromium.org,dalecurtis@chromium.org,philipj@opera.com,zmo@google.com,piman@chromium.org,dongseong.hwang@intel.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=349871, 504773, 549531 Review URL: https://codereview.chromium.org/1420843005 Cr-Commit-Position: refs/heads/master@{#357134}
-
bauerb authored
BUG=546607 Review URL: https://codereview.chromium.org/1430573005 Cr-Commit-Position: refs/heads/master@{#357133}
-
jsbell authored
Normalization is lossy and not called for in the spec. Don't do it. BUG=487510,545678 R=jww@chromium.org Review URL: https://codereview.chromium.org/1420483005 Cr-Commit-Position: refs/heads/master@{#357132}
-
avayvod authored
[Cast, Android, PresentationAPI] Show play/pause button when the presentation supports media commands. Add RemoteMediaPlayer to the CastRouteController. Notify it of the media namespace messages. Use it to handle play/pause from the controls. BUG=541629 Review URL: https://codereview.chromium.org/1412293004 Cr-Commit-Position: refs/heads/master@{#357131}
-
eakuefner authored
This change sets Pylint's dummy-variables-rgx variable so that variable names consisting entirely of underscores will not trigger unused argument warnings. BUG=475714 R=dtu,aiolos,nednguyen@google.com Review URL: https://codereview.chromium.org/1114343003 Cr-Commit-Position: refs/heads/master@{#357130}
-
henrika authored
BUG=549021 Review URL: https://codereview.chromium.org/1407333005 Cr-Commit-Position: refs/heads/master@{#357129}
-
reveman authored
BUG=538325 Review URL: https://codereview.chromium.org/1417753007 Cr-Commit-Position: refs/heads/master@{#357128}
-
gsennton authored
In WebView we initalize popup windows asynchronously so loading a url synchronously can result in it being loaded before the WebView sets its webcontentsdelegate. BUG=548316, 542548 Review URL: https://codereview.chromium.org/1405333005 Cr-Commit-Position: refs/heads/master@{#357127}
-
mdjones authored
This change moves ownership of an OverlayPanel's scene layer to the panel itself. The concept of UpdatableSceneLayer has been introduced as a child class of SceneLayer. BUG=521773 Review URL: https://codereview.chromium.org/1374603004 Cr-Commit-Position: refs/heads/master@{#357126}
-
mvanouwerkerk authored
* Fix spacing * Ellipsize from start as that part is less important * Apply official formatting Screenshot: http://imgur.com/bJy8hoH BUG=541617 Review URL: https://codereview.chromium.org/1426453003 Cr-Commit-Position: refs/heads/master@{#357125}
-
tomhudson authored
indicate that other backends need equivalent functions, but they seem instead to just take an extra parameter to Create(). Review URL: https://codereview.chromium.org/1413993006 Cr-Commit-Position: refs/heads/master@{#357124}
-
eugenebut authored
That DCHECK was originally added to: 1.) Prevent issues with WKWebView cookie clearing on iOS8 (not supported by WKWebView anymore). 2.) Ensure correct Modal Data Partitioning (postponed work). BUG=537244 Review URL: https://codereview.chromium.org/1427003003 Cr-Commit-Position: refs/heads/master@{#357123}
-
skyostil authored
Previously we were using the presence of main thread input gestures (e.g., a mouse drag) as a hint that expensive loading and timer tasks are non-essential. This patch relaxes the policy to allow loading tasks in this use case to avoid starving loading work for the entire duration of the gesture, e.g., for loading new content in an infinite scrolling scenario. BUG=548606 Review URL: https://codereview.chromium.org/1420773003 Cr-Commit-Position: refs/heads/master@{#357122}
-
maxbogue authored
This was left in http://crrev.com/1421343002 to prevent downstream from breaking, but downstream has now been converted. BUG=547973 Review URL: https://codereview.chromium.org/1419073005 Cr-Commit-Position: refs/heads/master@{#357121}
-
fukino authored
Fixes compile error caused by https://codereview.chromium.org/1425033006. Although AudioPlayerElement's new property can be resolved by reading element's script directly, I fixes this in old style (using extern) for now. BUG=none TBR=yawano@chromium.org Review URL: https://codereview.chromium.org/1428983002 Cr-Commit-Position: refs/heads/master@{#357120}
-
alemate authored
This CL replaces API of user_manager::UserManager, thus modifying API of all child objects, and all calls to UserManager. This is part of transition to AccountId. BUG=468875 TEST=manual Review URL: https://codereview.chromium.org/1412813003 Cr-Commit-Position: refs/heads/master@{#357119}
-