- 05 Mar, 2014 4 commits
-
-
ch.dumez@samsung.com authored
Pass rootNode by reference when constructing node lists / collections to make it clear that the rootNode cannot be null. Their implementation already relies on the fact that the rootNode cannot be null. R=adamk@chromium.org, adamk Review URL: https://codereview.chromium.org/176933013 git-svn-id: svn://svn.chromium.org/blink/trunk@168417 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Have ElementRareData::ensure*() methods return references instead of pointers for consistency and clarity. R=adamk@chromium.org, adamk Review URL: https://codereview.chromium.org/183763027 git-svn-id: svn://svn.chromium.org/blink/trunk@168416 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
Have MutationObserverRegistration deal with references instead of pointers when possible. This makes the code look safer. R=adamk@chromium.org, adamk Review URL: https://codereview.chromium.org/178473026 git-svn-id: svn://svn.chromium.org/blink/trunk@168415 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
scottmg@chromium.org authored
Investigation on bug into why colour of selection changed by one value from 0x32,0x32,0xfd to 0x32,0x32,0xfe. R=dpranke@chromium.org TBR=dpranke@chromium.org BUG=348800 Review URL: https://codereview.chromium.org/185713014 git-svn-id: svn://svn.chromium.org/blink/trunk@168413 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 04 Mar, 2014 36 commits
-
-
abarth@chromium.org authored
Prior to this CL, we were setting the style of the RenderView on every style recalc because we were comparing the RenderView's overflow style with the wrong value. This CL corrects the bug. This CL doesn't have much effect yet, but it will become important in a future CL when we use style modification on RenderLayers to scope compositing updates. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168254 Review URL: https://codereview.chromium.org/185263002 git-svn-id: svn://svn.chromium.org/blink/trunk@168412 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
scottmg@chromium.org authored
See linked bug for investigation on source of minor diff. R=pdr@chromium.org TBR=pdr@chromium.org BUG=348800 Review URL: https://codereview.chromium.org/187143002 git-svn-id: svn://svn.chromium.org/blink/trunk@168411 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
On Android, some locale-preferred fonts (e.g. DroidSansFallback.ttf for Chinese locale) doesn't contain all characters that the default locale system fonts contain. For characters that is missing in the font, fallback to the default locale system font, by calling getLastResortFallbackFont() in FontCache::platformFallbackForCharacter(). Also modified getLastResortFallbackFont() to prefer Skia default font instead of the hard-coded default font (sans) and to map also cursive and fantasy generic families. Combined similar code in FontCacheSkia.cpp. BUG=347121 TEST=FontCacheAndroid.platformFallbackForCharacter (will be enabled in another CL) R=dglazkov@chromium.org Review URL: https://codereview.chromium.org/185863007 git-svn-id: svn://svn.chromium.org/blink/trunk@168410 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bjonesbe@adobe.com authored
The ShapeInfo hierarchy has grown organically as the spec has changed, and the naming has become very stale and confusing. The spec is now in Last Call, so it seems like a good time to take a stab towards better naming that matches the spec terminology and is also more consistent in general. R=leviw@chromium.org BUG=322165 Review URL: https://codereview.chromium.org/185393015 git-svn-id: svn://svn.chromium.org/blink/trunk@168409 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
junov@chromium.org authored
BUG=343801 R=senorblanco@chromium.org Review URL: https://codereview.chromium.org/186063003 git-svn-id: svn://svn.chromium.org/blink/trunk@168407 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
junov@chromium.org authored
BUG=348702 R=senorblanco@chromium.org Review URL: https://codereview.chromium.org/180633010 git-svn-id: svn://svn.chromium.org/blink/trunk@168406 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
junov@chromium.org authored
BUG=348702 R=senorblanco@chromium.org Review URL: https://codereview.chromium.org/186023003 git-svn-id: svn://svn.chromium.org/blink/trunk@168405 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cbiesinger@chromium.org authored
This changes some FAIL to PASS lines, likely cause was the V8 roll in https://codereview.chromium.org/184163003, specifically https://github.com/v8/v8/commit/1e02b1d60095b06ac2f7ef372ca2af6028609119 CC=jkummerow@chromium.org,verwaest@chromium.org TBR=yangguo@chromium.org BUG= Review URL: https://codereview.chromium.org/183583003 git-svn-id: svn://svn.chromium.org/blink/trunk@168404 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
loislo@chromium.org authored
BUG= R=pfeldman@chromium.org Review URL: https://codereview.chromium.org/184303005 git-svn-id: svn://svn.chromium.org/blink/trunk@168402 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
scottmg@chromium.org authored
This is one noted in the bug as potentially interesting. It looks like a progression to me as on Windows we go from FAIL->PASS, and can remove the platform-specific baselines. R=dpranke@chromium.org BUG=348800 Review URL: https://codereview.chromium.org/177353008 git-svn-id: svn://svn.chromium.org/blink/trunk@168401 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
scottmg@chromium.org authored
Confirming that I can infact rebaseline tests. TBR=dpranke@chromium.org BUG=348800 Review URL: https://codereview.chromium.org/180633011 git-svn-id: svn://svn.chromium.org/blink/trunk@168400 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/186283003 git-svn-id: svn://svn.chromium.org/blink/trunk@168399 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
skobes@chromium.org authored
Also handle zero frame width correctly (happens occasionally per crbug.com/340987), and simplify the LayoutScope interface. BUG=347384 NOTRY=true Review URL: https://codereview.chromium.org/180743004 git-svn-id: svn://svn.chromium.org/blink/trunk@168397 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
R=caseq@chromium.org Review URL: https://codereview.chromium.org/180273023 git-svn-id: svn://svn.chromium.org/blink/trunk@168396 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
adamk@chromium.org authored
The code path resulting in a NULL here currently segfaults, but will return NULL after the Chromium-side patch https://codereview.chromium.org/185653006/ BUG=347901 Review URL: https://codereview.chromium.org/183833014 git-svn-id: svn://svn.chromium.org/blink/trunk@168395 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
Non-renderer-based elements such as optGroup do not have renderers. BUG=348330 R=esprehn@chromium.org Review URL: https://codereview.chromium.org/185293011 git-svn-id: svn://svn.chromium.org/blink/trunk@168394 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sl.ostapenko@samsung.com authored
Since there is always root inline box, InlineBox::root() should return reference. BUG= Review URL: https://codereview.chromium.org/182413005 git-svn-id: svn://svn.chromium.org/blink/trunk@168391 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jam@chromium.org authored
BUG=304341 Review URL: https://codereview.chromium.org/184043011 git-svn-id: svn://svn.chromium.org/blink/trunk@168390 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
R=eustas@chromium.org, eustas, pfeldman BUG=348297 Review URL: https://codereview.chromium.org/183803018 git-svn-id: svn://svn.chromium.org/blink/trunk@168389 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
R=lushnikov@chromium.org, pfeldman Review URL: https://codereview.chromium.org/177963004 git-svn-id: svn://svn.chromium.org/blink/trunk@168388 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
loislo@chromium.org authored
BUG= R=pfeldman@chromium.org Review URL: https://codereview.chromium.org/186553002 git-svn-id: svn://svn.chromium.org/blink/trunk@168387 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
The HeapVector was put in a normal Vector of pairs on the stack which is not traced. This issue was found with the ASAN build on layout tests. R=erik.corry@gmail.com, haraken@chromium.org, wibling@chromium.org, zerny@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/180273021 git-svn-id: svn://svn.chromium.org/blink/trunk@168386 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
Oilpan: Workaround for crash on quora and geek-and-poke. There is a finalization issue that we need to resolve in CSSCursorImageValue. R=erik.corry@gmail.com, haraken@chromium.org, wibling@chromium.org BUG=347943 NOTRY=true Review URL: https://codereview.chromium.org/185723006 git-svn-id: svn://svn.chromium.org/blink/trunk@168385 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
R=haraken@chromium.org, vegorov@chromium.org BUG=348629 NOTRY=true Review URL: https://codereview.chromium.org/183683017 git-svn-id: svn://svn.chromium.org/blink/trunk@168384 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
Design document: https://docs.google.com/a/google.com/document/d/1yeHTCHhulVIlrKyx9_gCguAhLfcefVOa9uxxfW2LVG0/edit Intent-to-ship-and-implement in blink-dev: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/t0XiZuMey7M/9-5AuhoFyisJ This CL moves DOM attributes used in Dromaeo to prototype chains. When I landed the CL two months ago (https://codereview.chromium.org/94403002), it caused 20+% regression in benchmarks. However, now that a V8 side fix is landed, there should be no overhead in moving DOM attributes to prototype chains in theory. Dromaeo/dom-attr 1086 runs/sec => 1077 runs/sec (-0.8%) Dromaeo/dom-modify 522 runs/sec => 525 runs/sec (+0.5%) Dromaeo/dom-query 26150 runs/sec => 26200 runs/sec (+0.2%) Dromaeo/dom-traverse 564 runs/sec => 544 runs/sec (-3.6%) I don't understand the regression in dom-traverse. The regression is reproducible but I cannot reproduce the regression in a super-micro benchmark that just repeats accessing div.firstChild. Probably the regression might be a noise. I'm going to land this CL and see how much regression is observed in perf bots (I'll email to perf-sheriff@). If I find the regression is unacceptable, I'll revert the CL. See the design document and the Intent-to-ship email for justification for the regression. BUG=43394 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167680 R=jochen@chromium.org Review URL: https://codereview.chromium.org/158713002 git-svn-id: svn://svn.chromium.org/blink/trunk@168383 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
TBR=eseidel Review URL: https://codereview.chromium.org/185533013 git-svn-id: svn://svn.chromium.org/blink/trunk@168382 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aandrey@chromium.org authored
BUG=338654 R=apavlov NOTRY=true Review URL: https://codereview.chromium.org/178543014 git-svn-id: svn://svn.chromium.org/blink/trunk@168381 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
TBR=dongseong.hwang@chromium.org BUG=348549 Review URL: https://codereview.chromium.org/183003012 git-svn-id: svn://svn.chromium.org/blink/trunk@168380 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
TBR=eae Review URL: https://codereview.chromium.org/183883014 git-svn-id: svn://svn.chromium.org/blink/trunk@168379 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
Revert of Oilpan: Use the OilpanExpectations for oilpan specific test expectations. (https://codereview.chromium.org/183683012/) Reason for revert: Only the release oilpan layout tests are run with the --additional-expectations flag. Reverting back to using TestExpectations for now. Original issue's description: > Oilpan: Use the OilpanExpectations for oilpan specific test expectations. > > R=erik.corry@gmail.com, haraken@chromium.org > BUG= > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168366 TBR=erik.corry@gmail.com,haraken@chromium.org,wibling@chromium.org NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/186403004 git-svn-id: svn://svn.chromium.org/blink/trunk@168378 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
TBR=pfeldman Review URL: https://codereview.chromium.org/186563002 git-svn-id: svn://svn.chromium.org/blink/trunk@168377 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
Currently DOMWrapperWorld can be 0 in some tests. This is problematic since I want to make DOMWrapperWorld::current() callable from anywhere. Thus this CL adds DOMWrapperWorld to all webkit_unit_tests. - It's verbose to initialize v8::HandleScope, v8::Context, v8::Context::Scope, V8PerContextData and DOMWrapperWorld in each test. So this CL adds a helper class (V8BindingTestScope) that does all the initialization work. - This CL also fixes indentation of V8Binding.h. BUG=341032 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168355 R=dcarney@chromium.org Review URL: https://codereview.chromium.org/180743013 git-svn-id: svn://svn.chromium.org/blink/trunk@168376 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
- This CL moves extractTransferables() from V8Utilities to SerializedScriptValue, since the method is related to SerializedScriptValue. - Then removes V8Utilities.{h,cpp} BUG=339037 R=jochen@chromium.org Review URL: https://codereview.chromium.org/141893007 git-svn-id: svn://svn.chromium.org/blink/trunk@168375 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
We observe crashes in fast/dom/css-delete-doc.html. The cause is that ~CSSGroupingRule() touches m_childRuleCSSOMWrappers. ~CSSGroupingRule() shouldn't touch m_childRuleCSSOMWrappers because the wrappers are on the heap. NOTRY=true R=ager@chromium.org, wibling@chromium.org Review URL: https://codereview.chromium.org/185423009 git-svn-id: svn://svn.chromium.org/blink/trunk@168374 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
The m_childRuleCSSOMWrappers vector is in the heap and we should not touch it. Not even to get its size. R=haraken@chromium.org, kouhei@chromium.org, wibling@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/183833017 git-svn-id: svn://svn.chromium.org/blink/trunk@168373 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
BUG=348911 TBR=eae Review URL: https://codereview.chromium.org/183743017 git-svn-id: svn://svn.chromium.org/blink/trunk@168372 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-