- 28 Aug, 2015 36 commits
-
-
tasak@google.com authored
Added STATIC_ONLY, STACK_ALLOCATED, DISALLOW_ALLOCATION, or ALLOW_ONLY_INLINE_ALLOCATION instead of WTF_MAKE_FAST_ALLOCATED(_WILL_BE_REMOVED) if possible. BUG=523249 Review URL: https://codereview.chromium.org/1304043006 git-svn-id: svn://svn.chromium.org/blink/trunk@201383 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces |previousPositionOf()| function for |VisiblePosition| as replacement of |VisiblePosition::previous()| to simplify |VisiblePosition| class for ease of templataizing |VisiblePosition| class to introduce composed tree version of |VisiblePosition|, since an implementation of |VisiblePosition::previous()| can be implemented with public member functions of |VisiblePosition| class. This patch also moves |VisiblePosition::characterBefore()| into "VisiblePosition.cpp" to avoid forward declaration of |previousPositionOf()|. Note: http://crrev.com/1307803003 introduces |nextPositionOf()|. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; No behavior changes Review URL: https://codereview.chromium.org/1310043003 git-svn-id: svn://svn.chromium.org/blink/trunk@201382 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201371 BUG=525884 TBR=tkent@chromium.org Review URL: https://codereview.chromium.org/1312663004 . git-svn-id: svn://svn.chromium.org/blink/trunk@201381 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201370 BUG=410320 TBR=kojii@chromium.org Review URL: https://codereview.chromium.org/1305913004 . git-svn-id: svn://svn.chromium.org/blink/trunk@201380 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
Added STATIC_ONLY, STACK_ALLOCATED, DISALLOW_ALLOCATION, or ALLOW_ONLY_INLINE_ALLOCATION instead of WTF_MAKE_FAST_ALLOCATED(_WILL_BE_REMOVED) if possible. BUG=523249 Review URL: https://codereview.chromium.org/1304063005 git-svn-id: svn://svn.chromium.org/blink/trunk@201379 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nainar@chromium.org authored
'background: currentColor' not getting repainted when 'color' is changed. LayoutObject::adjustStyleDifference doesn't check backgroundColor when repainting. The related bug filed occurs only on Chrome. Both FF and IE deal with this correctly. BUG=487489 Review URL: https://codereview.chromium.org/1320553004 git-svn-id: svn://svn.chromium.org/blink/trunk@201378 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |directionOfEnclosingBlock()| as a preparation of introducing composed tree version of |VisiblePosition| for a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; No behavior changes Review URL: https://codereview.chromium.org/1303163006 git-svn-id: svn://svn.chromium.org/blink/trunk@201377 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Blink r201361 shouldn't remove TestExpectation entry. BUG=525905 TBR=szager@chromium.org Review URL: https://codereview.chromium.org/1304143004 . git-svn-id: svn://svn.chromium.org/blink/trunk@201376 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
szager@chromium.org authored
BUG=525905 TBR=tkent@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1320073002 . git-svn-id: svn://svn.chromium.org/blink/trunk@201375 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
noel@chromium.org authored
SkBitmap is being removed from Chrome. There are no longer any callers of WEBPImageEncoder::encode(SkBitmap,...) so we can remove it and also the support code it required. No change in behavior, no new tests. TBR=fmalita@chromium.org BUG=449197 Review URL: https://codereview.chromium.org/1319113002 git-svn-id: svn://svn.chromium.org/blink/trunk@201373 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
The test just throws an exception. BUG=525903 TBR=pfeldman, sergeyv NOTRY=true Review URL: https://codereview.chromium.org/1314763011 git-svn-id: svn://svn.chromium.org/blink/trunk@201372 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
The native button rendering is strange on Yosemite. BUG=525884 Review URL: https://codereview.chromium.org/1311533004 git-svn-id: svn://svn.chromium.org/blink/trunk@201371 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kojii@chromium.org authored
This patch fixes the shrink-to-fit algorithm when descendants of the element have orthogonal writing-mode. Strictly speaking, as the [spec] defines, min-content width of the element must be determined by logicalHeight of children. This would require either "layout during preferred width calculation" or "multiple layout passes." In most cases, however, descendants are not mixed. Since orthogonal descendants need re-layout only when the parent's logicalHeight changes, this patch updates logicalWidth after children are laid out but does not re-layout descendants. Table cells with orthogonal descendants require additional work and the fix is not included in this CL. 001q-001x are tests for table cells. css3/flexbox/flex-flow-margins-auto-size.html that currently expects to fail passes with this patch: http://wkb.ug/70769 [spec]: http://dev.w3.org/csswg/css-writing-modes-3/#orthogonal-flows BUG=410320, 359604 TEST=css3/flexbox/flex-flow-margins-auto-size.html TEST=imported/csswg-test/css-writing-modes-3/orthogonal-parent-shrink-to-fit-001.html Review URL: https://codereview.chromium.org/1121173002 git-svn-id: svn://svn.chromium.org/blink/trunk@201370 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kouhei@chromium.org authored
Reland: Fixed "notEnoughCharacters" not initialized. Before this CL, SegmentedString::push() had an exotic behavior, where two consecutive push would swap its order. This CL changes the push() implementation so that it would always push the new char in front of the SegmentedString. This CL also updates the HTMLEntityParser code which relied on the behavior. BUG=None TEST={SegmentedStringTest,HTMLEntityParserTest}.* Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201294 Review URL: https://codereview.chromium.org/1308573006 git-svn-id: svn://svn.chromium.org/blink/trunk@201369 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jchaffraix@chromium.org authored
The current documentation was short and didn't really explain much about the object. The expanded description introduces more concepts and talks about the different layouts in more details. Review URL: https://codereview.chromium.org/1307653004 git-svn-id: svn://svn.chromium.org/blink/trunk@201368 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
noel@chromium.org authored
SkBitmap is being removed from Chrome. There are no longer any callers of JPEGImageEncoder::encode(SkBitmap,...) so we can remove it and also the support code it required. Note: The libjpeg-turbo specialization was the fastest encoder, but it required premultiplied data (SkBitmap). Thus some performance was lost when callers were switched over to use the ImageDataBuffer encoder (in the SkImage-replaces-SkBitmap endeavor). No change in behavior, no new tests. BUG=449197 Review URL: https://codereview.chromium.org/1314763008 git-svn-id: svn://svn.chromium.org/blink/trunk@201367 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
Added STATIC_ONLY, STACK_ALLOCATED, DISALLOW_ALLOCATION, or ALLOW_ONLY_INLINE_ALLOCATION instead of WTF_MAKE_FAST_ALLOCATED(_WILL_BE_REMOVED) if possible. BUG=523249 Review URL: https://codereview.chromium.org/1319893002 git-svn-id: svn://svn.chromium.org/blink/trunk@201366 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Keishi is a frequent contributor in Source/web [1], and the originator of Source/web/resources [2]. [1] https://blink.lc/blink/stats/Source/web?period=q&ofs=10 [2] https://blink.lc/blink/stats/Source/web/resources?period=y&ofs=10 NOTRY=true BUG= Review URL: https://codereview.chromium.org/1319883002 git-svn-id: svn://svn.chromium.org/blink/trunk@201365 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kouhei@chromium.org authored
BUG=None Review URL: https://codereview.chromium.org/1322493002 git-svn-id: svn://svn.chromium.org/blink/trunk@201364 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timloh@chromium.org authored
We currently support -webkit-text as a value in clip properties, background-clip, -webkit-background-clip and -webkit-mask-clip, as well as in color properties (only when in quirks mode). I suspect usage is extremely rare in both cases so this patch adds counters for these. Review URL: https://codereview.chromium.org/1311713004 git-svn-id: svn://svn.chromium.org/blink/trunk@201363 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch moves global function |intersectsNode()| in "VisibleSelection.{cpp,h}" to local function in "FrameSelection.cpp" to narrow visibility for improving code health and ease of implement composed tree version. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; No behavior changes Review URL: https://codereview.chromium.org/1318183002 git-svn-id: svn://svn.chromium.org/blink/trunk@201362 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Also, remove an obsoleted comment in TestExpectations. BUG= Review URL: https://codereview.chromium.org/1301333005 git-svn-id: svn://svn.chromium.org/blink/trunk@201361 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jchaffraix@chromium.org authored
The class was sorely missing some documentation about the design decisions and its purpose. Review URL: https://codereview.chromium.org/1323443002 git-svn-id: svn://svn.chromium.org/blink/trunk@201360 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weiliangc@chromium.org authored
Was changed to failure actually crashing on MSAN bots. BUG=525824 TBR=szager1, xlai@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1320993002 git-svn-id: svn://svn.chromium.org/blink/trunk@201358 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
The current tip wording is the following: "Use 'file:' to define search scope". The patch changes wording to: "Enter query, use `file:` to filter by path". BUG=488112 NOTRY=true TBR=pfeldman, paulirish Review URL: https://codereview.chromium.org/1317223002 git-svn-id: svn://svn.chromium.org/blink/trunk@201357 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sataya.m@samsung.com authored
When chrome running on on root-layer-scrolls, page is scaled the style is recalculated and thickness is changed. Change in thickness sets informs owning renderer to set for childneedsLayout. This layout shall happen after style reclac is completed, if this sequence is not executed, then post layout we see the needsForLayout = true, which asserts and crashes the chrome. TESTED=fast/scrollbars/custom-scrollbar-thickness-change-on-zoom-crash.html now passes with root layer scrolling BUG=522389(https://code.google.com/p/chromium/issues/detail?id=522389#c1) Review URL: https://codereview.chromium.org/1310603003 git-svn-id: svn://svn.chromium.org/blink/trunk@201356 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201337 BUG=523056 TBR=aelias@chromium.org Review URL: https://codereview.chromium.org/1301333006 . git-svn-id: svn://svn.chromium.org/blink/trunk@201355 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
This is extracted from https://codereview.chromium.org/1307863003 so that it can be landed after all chromium-side changes are landed. TBR=pfeldman BUG=456845 Review URL: https://codereview.chromium.org/1301373004 git-svn-id: svn://svn.chromium.org/blink/trunk@201354 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201342 BUG=525702 TBR=jbroman@chromium.org Review URL: https://codereview.chromium.org/1319663005 . git-svn-id: svn://svn.chromium.org/blink/trunk@201353 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201339 BUG=509025,524134 TBR=wangxianzhu@google.com Review URL: https://codereview.chromium.org/1322613002 . git-svn-id: svn://svn.chromium.org/blink/trunk@201352 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
- WebServiceWorkerRegistration* (ownership transferred) => WebPassOwnPtr<WebServiceWorkerRegistration> - WebVector<WebServiceWorkerRegistration*> (ownership transferred) => WebPassOwnPtr<WebVector<WebServiceWorkerRegistration*>> - WebServiceWorkerError* (ownership transferred) => const WebServiceWorkerError& 1/3: https://codereview.chromium.org/1312343004/ 2/3: https://codereview.chromium.org/1318953002/ 3/3: https://codereview.chromium.org/1316293002/ BUG=493531, 525340 Review URL: https://codereview.chromium.org/1316293002 git-svn-id: svn://svn.chromium.org/blink/trunk@201351 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
BUG=517980 Review URL: https://codereview.chromium.org/1315413005 git-svn-id: svn://svn.chromium.org/blink/trunk@201350 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
I don't think forcing paint was necessary. Trying three frames is an experiment to see if it fixes the flakiness on some debug and windows bots. TBR=schenney BUG=518999 Review URL: https://codereview.chromium.org/1306943003 git-svn-id: svn://svn.chromium.org/blink/trunk@201349 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kochi@chromium.org authored
On Japanese locale Android which has Motoya Maruberi as the system default font (up until 5.1), the font fallback path mistakenly picked up ".notdef" glyph for (U+00A0). This happened because in the fallback path it still ended up in looking up non-existent glyph in the same font file and fell back to the "missingGlyphData". This is because Blink looks up the glyph in normalized codepoint (for U+00A0, normalized to U+0020) but still it tries to look up the original codepoint. This bug was exposed by the following change, to make not to normalize to space before looking up glyph. https://codereview.chromium.org/705163003 BUG=454108 Review URL: https://codereview.chromium.org/1317833003 git-svn-id: svn://svn.chromium.org/blink/trunk@201348 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jbroman@chromium.org authored
Review URL: https://codereview.chromium.org/1323433002 git-svn-id: svn://svn.chromium.org/blink/trunk@201347 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kinuko@chromium.org authored
This was made non-refcounted class in https://crrev.com/1190133002, but looks like this could cause crashes in some corner cases. To be more specific: FrameLoaderClientImpl::dispatchDidFinishDocumentLoad() calls WebFrameClient callback first and then WebView callback next, but if the loader is deleted in the first callback an attempt to call the second callback on a member variable would crash. We could probably avoid this crash without making the loader class ref-counted again, but for now I would like to fix the crash by simply reverting some of the changes that're causing the crash. BUG=524694 Review URL: https://codereview.chromium.org/1322523002 git-svn-id: svn://svn.chromium.org/blink/trunk@201346 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 27 Aug, 2015 4 commits
-
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201327 BUG=67587 TBR=xlai@chromium.org Review URL: https://codereview.chromium.org/1313183005 . git-svn-id: svn://svn.chromium.org/blink/trunk@201345 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201329 BUG=515771 TBR=robhogan@gmail.com Review URL: https://codereview.chromium.org/1322583003 . git-svn-id: svn://svn.chromium.org/blink/trunk@201344 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
szager@chromium.org authored
BUG=525824 TBR=xlai@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1318903006 . git-svn-id: svn://svn.chromium.org/blink/trunk@201343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jbroman@chromium.org authored
BUG=525702 Review URL: https://codereview.chromium.org/1307223003 git-svn-id: svn://svn.chromium.org/blink/trunk@201342 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-