- 06 Jun, 2014 40 commits
-
-
sigbjornf@opera.com authored
Tidy up the definition of some stack objects and have them refer to Element or Node references by way of Members rather than raw pointers. R=tkent@chromium.org,haraken@chromium.org BUG=357163 Review URL: https://codereview.chromium.org/319083004 git-svn-id: svn://svn.chromium.org/blink/trunk@175646 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nhiroki@chromium.org authored
BUG=n/a TEST=n/a NOTRY=true Review URL: https://codereview.chromium.org/321503003 git-svn-id: svn://svn.chromium.org/blink/trunk@175645 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
We'd like TimelineFrameModel to be independent from TimelineModel, since we may build the former based on row trace events. As a drive by, fix "no live updates" experiment which was broken in a couple of places, especially WRT displaying frames. BUG=361045 R=yurys@chromium.org Review URL: https://codereview.chromium.org/319743002 git-svn-id: svn://svn.chromium.org/blink/trunk@175644 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
habib.virji@samsung.com authored
Updated gdb script to use range instead of range. R=hayato, jochen BUG=380618 Review URL: https://codereview.chromium.org/313833003 git-svn-id: svn://svn.chromium.org/blink/trunk@175643 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
We never look up mirror object by its id. To avoid possible memory leaks caused by mirrors stuck in the cache we disable mirror cache completely. This change depends on the ToggleMirrorCache added in V8 in https://code.google.com/p/v8/source/detail?r=21644 BUG=376534 Review URL: https://codereview.chromium.org/317963003 git-svn-id: svn://svn.chromium.org/blink/trunk@175642 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
BUG=337065 Review URL: https://codereview.chromium.org/313043002 git-svn-id: svn://svn.chromium.org/blink/trunk@175640 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tzik@chromium.org authored
This function should be unsupported on Workers, since it needs user interaction. BUG=381528 Review URL: https://codereview.chromium.org/319053003 git-svn-id: svn://svn.chromium.org/blink/trunk@175639 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
This is the final bit of the work to remove "current" methods from the code base. I manually grepped all "current" methods from the code base and addressed the remaining ones in this CL. BUG=357144 Review URL: https://codereview.chromium.org/310423002 git-svn-id: svn://svn.chromium.org/blink/trunk@175638 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dmikurube@chromium.org authored
BUG=364398,364390,364417,376188 TBR=kouhei@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/315403005 git-svn-id: svn://svn.chromium.org/blink/trunk@175637 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
At insertion points, we schedule style recalcs for inserted nodes when we have a StyleRecalcChange at the insertion point's parent. One of the reasons is that :host-context selectors which affect inserted nodes may rely on matching nodes which are not ascendants of the inserted nodes in the dom used for selector matching. We did use a LocalStyleChange for the inserted nodes, but these selectors may affect any node in the inserted node's subtree. Hence, we start using SubtreeStyleChange instead. R=esprehn@chromium.org,dglazkov@chromium.org BUG=381020 Review URL: https://codereview.chromium.org/317953002 git-svn-id: svn://svn.chromium.org/blink/trunk@175636 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/315293003 git-svn-id: svn://svn.chromium.org/blink/trunk@175635 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jchaffraix@chromium.org authored
This change introduces a UI that appears when the last roll is getting old. The UI is not shown by default to avoid visual clutter and its visual attribute matches the urgency (currently 2 levels: warning / urgent). Review URL: https://codereview.chromium.org/316033002 git-svn-id: svn://svn.chromium.org/blink/trunk@175634 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tyoshino@chromium.org authored
It doesn't need to get host echoed back. Just use the simple echo handler. Some unnecessary div elements are removed. BUG=none Review URL: https://codereview.chromium.org/317113002 git-svn-id: svn://svn.chromium.org/blink/trunk@175633 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Simplify CSSSelector::isAttributeSelector() by not checking each Match type explicitly and reordering the Match enum instead so that the attribute selector match type are contiguous and at the end of the enum. This way, the check can become (m_match >= FirstAttributeSelectorMatch). This optimization is similar to the one we already use in CollectionType.h for collection types. isAttributeSelector() is called from SelectorChecker::checkOne() which is hot code. I see a ~2% progression on Dromaeo's cssquery-jquery: http://dromaeo.com/?id=222514,222518 Review URL: https://codereview.chromium.org/315043005 git-svn-id: svn://svn.chromium.org/blink/trunk@175632 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
Moves "constructors on modules global objects from core interfaces" to modules. I.e., moves ServiceWorkerGlobalScopeCore.idl from gen/blink/core to gen/blink/modules bindings/core/generated.gyp no longer references modules! R=haraken BUG=358074 Review URL: https://codereview.chromium.org/319593006 git-svn-id: svn://svn.chromium.org/blink/trunk@175631 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
Currently parseHTTPHeaders returns (the number of consumed bytes - x) where - x = 0 if it consumes an empty line - x = 1 otherwise This CL make parseHTTPHeaders always return the number of consumed bytes. BUG=NONE R=tyoshino Review URL: https://codereview.chromium.org/314083002 git-svn-id: svn://svn.chromium.org/blink/trunk@175630 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@chromium.org authored
This CL implements a |hardwareConcurrency| property on the |navigator| object that returns the number of CPU cores the machine has. Intent-to-ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/xwl0ab20hVc R=esprehn@chromium.org BUG=369629 Review URL: https://codereview.chromium.org/262723002 git-svn-id: svn://svn.chromium.org/blink/trunk@175629 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=175599 BUG=381242 TBR=wangxianzhu@chromium.org Review URL: https://codereview.chromium.org/321503002 git-svn-id: svn://svn.chromium.org/blink/trunk@175628 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ksakamoto@chromium.org authored
BUG=380990 Review URL: https://codereview.chromium.org/315163002 git-svn-id: svn://svn.chromium.org/blink/trunk@175627 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
Followup to: Cleanup v8 usage in modules https://codereview.chromium.org/319653002/ Review URL: https://codereview.chromium.org/314063002 git-svn-id: svn://svn.chromium.org/blink/trunk@175626 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
all compositing layers and their geometry are updated. BUG=370664 Review URL: https://codereview.chromium.org/311813005 git-svn-id: svn://svn.chromium.org/blink/trunk@175625 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
https://codereview.chromium.org/321473002/dcheng@chromium.org authored
Reason for revert: Broke the build. Original issue's description: > Implement enableFastMobileScrolling web api. > > The effort needs to be done in 3 steps: > 1. Create the runtime flag interface in blink; > 2. Enable the flag for Android from chromium even it does not do anything in blink; > 3. Replace compile time guard with runtime flag in blink and remove ENABLE_FAST_MOBILE_SCROLLING in gyp file. > > This is the 1st set of changes. > > BUG=381391 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175621 TBR=tkent@chromium.org,adamk@chromium.org,c.shu@samsung.com NOTREECHECKS=true NOTRY=true BUG=381391 Review URL: https://codereview.chromium.org/317313002 git-svn-id: svn://svn.chromium.org/blink/trunk@175622 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
c.shu@samsung.com authored
The effort needs to be done in 3 steps: 1. Create the runtime flag interface in blink; 2. Enable the flag for Android from chromium even it does not do anything in blink; 3. Replace compile time guard with runtime flag in blink and remove ENABLE_FAST_MOBILE_SCROLLING in gyp file. This is the 1st set of changes. BUG=381391 Review URL: https://codereview.chromium.org/321473002 git-svn-id: svn://svn.chromium.org/blink/trunk@175621 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
This method has been renamed already, so it's not a strict revert, but it restores the original behavior. BUG=none TEST=browser_tests --gtest_filter=WebViewTest*Auto* TBR=ojan@chromium.org Review URL: https://codereview.chromium.org/316373005 git-svn-id: svn://svn.chromium.org/blink/trunk@175620 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
This method is all sorts of badness. It leads to strange chicken-egg bugs because people don't think that you will need to update layer state after the layout has completed. FrameView::updateLayoutAndStyleIfNeededRecursive needs to do a second style recalc and layout just for this and in theory it should probably do a while loop there to get this right. Now that we've removed all the non-SVG filter callers of this function, rename it to something scary so that people won't add new callers. Review URL: https://codereview.chromium.org/319613004 git-svn-id: svn://svn.chromium.org/blink/trunk@175618 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
BUG=380167 R=japhet@chromium.org Review URL: https://codereview.chromium.org/316313002 git-svn-id: svn://svn.chromium.org/blink/trunk@175617 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
whitespace-length.html is timing out consistently on Webkit XP: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&tests=fast/svg/whitespace-length.html BUG=377503,339899 TBR=ed@opera.com Review URL: https://codereview.chromium.org/319883002 git-svn-id: svn://svn.chromium.org/blink/trunk@175616 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
This timed out on the waterfall and is failing on unrelated tryjobs runs as well. TBR=jsbell@chromium.org BUG=380910 Review URL: https://codereview.chromium.org/316383002 git-svn-id: svn://svn.chromium.org/blink/trunk@175615 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
TBR=eae@chromium.org Review URL: https://codereview.chromium.org/316373002 git-svn-id: svn://svn.chromium.org/blink/trunk@175614 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
https://src.chromium.org/viewvc/blink?view=rev&revision=175416 BUG=none TBR=peter@chromium.org Review URL: https://codereview.chromium.org/315423002 git-svn-id: svn://svn.chromium.org/blink/trunk@175613 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=175388 BUG=371640 TBR=dsinclair@chromium.org Review URL: https://codereview.chromium.org/314283004 git-svn-id: svn://svn.chromium.org/blink/trunk@175612 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Rename ElementData's attribute related methods for clarity: * length() -> attributeCount() * isEmpty() -> hasAttributes() * getAttributeItem(name) -> findAttributeByName(name) * attributeItem(index) -> attributeAt(index) * getAttributeItemIndex(name) -> findAttributeIndexByName(name) * addAttribute(name, value) -> appendAttribute(name, value) * removeAttribute(index) -> removeAttributeAt(index) This is inpired by the following WebKit revision by benjamin@webkit.org: http://trac.webkit.org/changeset/162394 R=esprehn@chromium.org, adamk@chromium.org Review URL: https://codereview.chromium.org/313973003 git-svn-id: svn://svn.chromium.org/blink/trunk@175611 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Oilpan: Prepare to move AbstractSQLStatement, SQLStatement, and SQLCallbackWrapper<T> to Oilpan heap. SQLCallbackWrapper has code to call ExecutionContext::deref() in the origin thread. This is unnecessary in Oilpan because implementation classes of ExecutionContext are already on-heap and they are always destructed in their origin threads. This is a prepration to make ExecutionContext GarbageCollected. BUG=357163 Review URL: https://codereview.chromium.org/311273005 git-svn-id: svn://svn.chromium.org/blink/trunk@175610 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
Keep a traced Member reference to the Element that's recorded as the Document's CSS target. When that Element is removed from the tree, the Member will be explicitly cleared. R= BUG=357163 Review URL: https://codereview.chromium.org/315333002 git-svn-id: svn://svn.chromium.org/blink/trunk@175609 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
estade@chromium.org authored
Since rAc was adopted into the standard, we revisited this and decided to do it a different way. This "revert" does keep the minor change about removing the extra param to WebAutofillClient::didRequestAutocomplete. BUG=354897 Review URL: https://codereview.chromium.org/293853002 git-svn-id: svn://svn.chromium.org/blink/trunk@175608 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
BUG=381364 TBR=peter@chromium.org Review URL: https://codereview.chromium.org/322443003 git-svn-id: svn://svn.chromium.org/blink/trunk@175607 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ckocagil@chromium.org authored
This allows the file to be compiled with C++11. BUG= Review URL: https://codereview.chromium.org/316113002 git-svn-id: svn://svn.chromium.org/blink/trunk@175606 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
BUG=381471 TBR=peter@chromium.org Review URL: https://codereview.chromium.org/317283002 git-svn-id: svn://svn.chromium.org/blink/trunk@175605 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
BUG=381464 TBR=peter@chromium.org Review URL: https://codereview.chromium.org/314113004 git-svn-id: svn://svn.chromium.org/blink/trunk@175604 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
skobes@chromium.org authored
This fixes cases where a node that previously had a >1 multiplier ceases to have direct text children. This can happen if its text content is removed in script, or if its 'display' style is changed from inline to block. (There are probably other ways for it to happen also.) Previously such a node would have a "stale" multiplier, since the autosizer only updated multipliers on text nodes and their immediate parents. In theory the stale multiplier should not have affected the rendering, but: - it is observable through the lineHeight property, and - due to http://crbug.com/380903 the stale multiplier on an ancestor might be used to render text, even when the text node has the correct multiplier BUG=378959 Review URL: https://codereview.chromium.org/319013003 git-svn-id: svn://svn.chromium.org/blink/trunk@175603 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-