- 19 Mar, 2014 40 commits
-
-
wibling@chromium.org authored
Also moved the simple ViewportStyleResolver onto the heap. Next will change ImmutableStylePropertySet to transition types. R=ager@chromium.org, erik.corry@gmail.com, haraken@chromium.org, oilpan-reviews@chromium.org, tkent@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG=341815 Review URL: https://codereview.chromium.org/204373003 git-svn-id: svn://svn.chromium.org/blink/trunk@169546 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
gnanasekar.s@samsung.com authored
LayoutUnit misuse, often from improper conversion to other types,is a constant source of bugs in Blink. This is the second patch with the goal of making such error-prone conversions explicit in the hopes of forcing developers to think through these conversions while writing their patches. These conversion sites were discovered by toggling the float conversions to explicit and finding the compiler errors. BUG=350474 Review URL: https://codereview.chromium.org/200023002 git-svn-id: svn://svn.chromium.org/blink/trunk@169545 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dongseong.hwang@intel.com authored
Move BitmapImageTest.cpp, GIFImageDecoderTest.cpp and JPEGImageDecoderTest.cpp. BUG=353585 Review URL: https://codereview.chromium.org/203543002 git-svn-id: svn://svn.chromium.org/blink/trunk@169544 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sudarshan.p@samsung.com authored
This is a minor refactor, that removes an unused private member function valueChanged. Review URL: https://codereview.chromium.org/204333002 git-svn-id: svn://svn.chromium.org/blink/trunk@169543 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
R=aandrey, pfeldman, vsevik NOTRY=true Review URL: https://codereview.chromium.org/202763006 git-svn-id: svn://svn.chromium.org/blink/trunk@169542 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
This is to determine if it could be made readonly. The getter is measured to learn the relative usage, and is most likely above any threshold for removal. BUG=none Review URL: https://codereview.chromium.org/203193010 git-svn-id: svn://svn.chromium.org/blink/trunk@169541 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
R=ager@chromium.org,haraken@chromium.org BUG=340522 Review URL: https://codereview.chromium.org/201083004 git-svn-id: svn://svn.chromium.org/blink/trunk@169540 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alancutter@chromium.org authored
Revert of Web Animations API: Load resources referenced in element.animate() (https://codereview.chromium.org/196573030/) Reason for revert: Causing assertion failure in ChromeOS browser_tests. https://code.google.com/p/chromium/issues/detail?id=353962 Original issue's description: > Web Animations API: Load resources referenced in element.animate() > > This patch fixes a bug where resources in element.animate() calls were > not being fetched. This resulted in StylePendingImages leaking out of > the style resolving stage and into rendering which causes a crash. > > This patch fixes the bug by ensuring StylePendingImages introduced in > applyAnimatedProperties() will be resolved as non-pending StyleImages > through an additional call to loadPendingResources(). > This patch also modifies AnimatableImage to be a wrapper of CSSValues > instead of StyleImages in order to follow the same resource caching > logic as typical CSS image values. > This patch also updates EffectInput::convert() to pass the document's > StyleSheetContents to MutableStylePropertySet::setProperty() so that > relative URLs are correctly resolved to absolute URLs. > > BUG=353385 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169424 TBR=dstockwell@chromium.org,esprehn@chromium.org NOTREECHECKS=true NOTRY=true BUG=353385 Review URL: https://codereview.chromium.org/203413008 git-svn-id: svn://svn.chromium.org/blink/trunk@169539 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
Also add missing transition type handling for [PutForwards] over garbage collected interface types. R=haraken@chromium.org BUG=340522 Review URL: https://codereview.chromium.org/196133029 git-svn-id: svn://svn.chromium.org/blink/trunk@169538 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
keonho07.kim@samsung.com authored
ScriptExcution thread can set source location info such as postioin, orientation and velocity. These locations also are read from audio thread. Distance model also need to quarantee a thread safety. FIXME :consider thread safety about m_position in audio thread. FIXME :consider thread safety about m_orientation in audio thread. FIXME :consider thread safety about m_velocity in audio thread. BUG=350583 Review URL: https://codereview.chromium.org/196993002 git-svn-id: svn://svn.chromium.org/blink/trunk@169537 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
R=aandrey, vsevik NOTRY=true Review URL: https://codereview.chromium.org/200053006 git-svn-id: svn://svn.chromium.org/blink/trunk@169536 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Oilpan: Prepare to move AbstractSQLTransactionBackend, SQLTransactionBackend, and SQLTransactionCoordinator::CoordinationInfo to Oilpan heap. This CL changes the mapped type of m_coordinationInfoMap from copyable object to OwnPtr<> or Member<>. So we need to update some code in SQLTransactionCoordinator. BUG=347902 R=ager@chromium.org, haraken@chromium.org Review URL: https://codereview.chromium.org/198213005 git-svn-id: svn://svn.chromium.org/blink/trunk@169535 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tommyw@chromium.org authored
Missed a case for remote tracks. BUG=352154 Review URL: https://codereview.chromium.org/201353002 git-svn-id: svn://svn.chromium.org/blink/trunk@169534 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
NOTRY=true TBR=abarth BUG=None Review URL: https://codereview.chromium.org/203593010 git-svn-id: svn://svn.chromium.org/blink/trunk@169533 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
Also have DOMWindow keep a persistent reference to its Performance object. R= BUG=340522 Review URL: https://codereview.chromium.org/197283036 git-svn-id: svn://svn.chromium.org/blink/trunk@169532 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
erik.corry@gmail.com authored
R=ager@chromium.org, wibling@chromium.org BUG= Review URL: https://codereview.chromium.org/203363003 git-svn-id: svn://svn.chromium.org/blink/trunk@169531 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
R=lushnikov@chromium.org, lushnikov, pfeldman Review URL: https://codereview.chromium.org/202043002 git-svn-id: svn://svn.chromium.org/blink/trunk@169530 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
R=haraken@chromium.org BUG=340522 Review URL: https://codereview.chromium.org/204063002 git-svn-id: svn://svn.chromium.org/blink/trunk@169529 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
BUG=353934 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/197873036 git-svn-id: svn://svn.chromium.org/blink/trunk@169528 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
BUG=347902 NOTRY=true Review URL: https://codereview.chromium.org/203303009 git-svn-id: svn://svn.chromium.org/blink/trunk@169527 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
When a node is removed and then re-added to the document, the back-end node id remains the same and the front-end id is new. This means that if we keep resolved front-end nodes, we should check if these still exist and re-resolve the ids to new nodes if these are detached and re-attached to the document. BUG= R=vsevik@chromium.org Review URL: https://codereview.chromium.org/195813010 git-svn-id: svn://svn.chromium.org/blink/trunk@169526 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bajones@chromium.org authored
BUG=127940 Review URL: https://codereview.chromium.org/179973004 git-svn-id: svn://svn.chromium.org/blink/trunk@169525 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
Constructors view is updated whenever allocation or summary perspective is selected. BUG=277984 R=alph@chromium.org Review URL: https://codereview.chromium.org/198833008 git-svn-id: svn://svn.chromium.org/blink/trunk@169524 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=169508 BUG=345027 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/204283004 git-svn-id: svn://svn.chromium.org/blink/trunk@169523 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=169505 BUG=352050 TBR=jchaffraix@chromium.org Review URL: https://codereview.chromium.org/196343029 git-svn-id: svn://svn.chromium.org/blink/trunk@169522 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ddorwin@chromium.org authored
This CL also fixes the -expected file with the correct expectations (PASS), though this test rarely passes. As noted in the bug, the test has been confirmed correct, and we need to fix our behavior. At that time, we can remove the TestExpectations entry. BUG=306249 Review URL: https://codereview.chromium.org/204003004 git-svn-id: svn://svn.chromium.org/blink/trunk@169521 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
shans@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/204183002 git-svn-id: svn://svn.chromium.org/blink/trunk@169519 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
messageHandlerInMainThread can be invoked while we're initializing a window (See stack traces in the bugs). In that half-baked situation, we don't have a valid context nor a valid world, so we should return immediately. BUG=345014,352179 NOTRY=true Review URL: https://codereview.chromium.org/203123006 git-svn-id: svn://svn.chromium.org/blink/trunk@169518 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
core/ and v8/ only use |impl|, while bindings/ uses half |imp| and half |impl|. This regularizes bindings to |impl|. BUG=345503 R=haraken Review URL: https://codereview.chromium.org/202203009 git-svn-id: svn://svn.chromium.org/blink/trunk@169517 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
Add the implementation for V8 Promises in ScriptPromise and ScriptPromiseResolver so that: - They can handle V8 Promises correctly. - ScriptPromise creates a V8 Promise if ScriptPromiseOnV8Promise turns on. Add ScriptPromiseOnV8Promise runtime enabled flag which is always off. Add Layout tests for ScriptPromise. BUG=352552 Review URL: https://codereview.chromium.org/197213007 git-svn-id: svn://svn.chromium.org/blink/trunk@169516 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=169478 BUG=345027 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/204273002 git-svn-id: svn://svn.chromium.org/blink/trunk@169515 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
This reverts commit r169269. This is a speculative fix for the performance tests timing out on the Win8 bot. BUG=353275 Review URL: https://codereview.chromium.org/203463008 git-svn-id: svn://svn.chromium.org/blink/trunk@169514 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=169472 TBR=fmalita@chromium.org Review URL: https://codereview.chromium.org/204263002 git-svn-id: svn://svn.chromium.org/blink/trunk@169513 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This patch is a followup to [1] to cleanup the dependencies on the old text autosizer. The largest change in this patch is to remove the "container" concept and rely only on clusters and blocks in the FastTextAutosizer. The big changes in this patch include: * formInputTags vector -> isFormInput(const Element*) Passing around a static vector was unnecessarily confusing. This patch refactors the formInput statics into a single function: isFormInput. * isAutosizingContainer -> !isExemptFromAutosizer The logic of isAutosizingContainer has been switched in isExemptFromAutosizer and I think the new name better reflects what this function does. * containerIsRowOfLinks -> blockContainsRowOfLinks * contentHeightIsConstrained -> blockHeightConstrained * containerContainsOneOfTags -> blockContainsFormInput * containerShouldBeAutosized -> !blockPreventedFromAutosizing The logic of containerShouldBeAutosized has been switched in blockPreventedFromAutosizing. I think this better reflects what this function does. * blockMightBecomeAutosizingCluster has been added. * isFingerprintingCandidate has been removed in favor of blockMightBecomeAutosizingCluster [1] https://codereview.chromium.org/200603002 BUG=302005 Review URL: https://codereview.chromium.org/197883013 git-svn-id: svn://svn.chromium.org/blink/trunk@169511 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eseidel@chromium.org authored
We currently don't know how common xpath usage is in the wild, but we should. Review URL: https://codereview.chromium.org/204003003 git-svn-id: svn://svn.chromium.org/blink/trunk@169510 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
japhet@chromium.org authored
In this case, the frame isn't done loading, and we may attempt to print something bogus. BUG=339075 TEST=Manually, on a google presentation with --enable-print-preview Review URL: https://codereview.chromium.org/196833005 git-svn-id: svn://svn.chromium.org/blink/trunk@169509 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enne@chromium.org authored
BUG=345027 Review URL: https://codereview.chromium.org/196353013 git-svn-id: svn://svn.chromium.org/blink/trunk@169508 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ksakamoto@chromium.org authored
As per a discussion on www-style [1], FontFace#ready is removed from the spec [2], and FontFace#load() is changed to return a Promise which fulfills when the font is ready. [1] http://lists.w3.org/Archives/Public/www-style/2014Mar/0069.html [2] http://dev.w3.org/csswg/css-font-loading/ TEST=fast/css/fontface-methods.html BUG=53213 Review URL: https://codereview.chromium.org/184633005 git-svn-id: svn://svn.chromium.org/blink/trunk@169507 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
EventTarget has special-cased bindings generation, with several bugs. This CL corrects and simplifies it in a few ways: 1. Remove duplicate |EventTarget* imp| initialization Currently EventListener has |EventTarget* imp| initialized twice. (With different names, |impl| and |imp|, so this compiles.) Also rearranges the template code so that the special case is more narrowly focused (instead of overall), and check the interface name, not just method names, which clarifies the special case. (This also means we can remove the test cases, as it's just a special-case for one interface.) This does *not* change web behavior: Unlike all other methods, addEventListener and removeEventListener do not check arguments length. This is apparently required for legacy calls, so I've opened a separate bug for this: https://code.google.com/p/chromium/issues/detail?id=353484 Previously EventTarget skipped this, due to having an overall special case, instead of just special-casing the method call itself; we now have an explicit special-case in the template. This was hit by 3 tests: fast/dom/node-legacy-event-listener.html fast/dom/XMLHttpRequest-legacy-event-listener.html fast/dom/Window/window-legacy-event-listener.html (More details at the bug.) I've added more detailed tests on behavior, and other argument handling. Follow-up CL: * further reduce special case (use usual argument handling) TBR=haraken BUG=345503 BUG=353484 Review URL: https://codereview.chromium.org/201603002 git-svn-id: svn://svn.chromium.org/blink/trunk@169506 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jchaffraix@chromium.org authored
The logic was just plain wrong: during a position movement layout, we have to invalidate the old and new position as we are shifted. The current code would generate incremental invalidation as it fell down the wrong path. Refactored the code to do what it's supposed to do and added an invalidation test to cover a case where incremental invalidation failed. BUG=352050 Review URL: https://codereview.chromium.org/202433003 git-svn-id: svn://svn.chromium.org/blink/trunk@169505 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-