Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Issue 23809007: Refactor the viewport code to be more understandable (Closed)

Created:
7 years, 3 months ago by kenneth.r.christiansen
Modified:
7 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Refactor the viewport code to be more understandable Introduce a shouldOverrideLegacyViewport method and use it instead of comparing types manually. Make the setViewportArguments method handle both legacy and @viewport, instead of just the latter. Now the code is a bit more self documenting, so reword some of the comments. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157366

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -38 lines) Patch
M Source/core/dom/Document.h View 2 chunks +6 lines, -8 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +44 lines, -30 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kenneth.r.christiansen
7 years, 3 months ago (2013-09-06 07:24:08 UTC) #1
rune
lgtm
7 years, 3 months ago (2013-09-06 08:52:00 UTC) #2
Mike West
Looks reasonable. LGTM.
7 years, 3 months ago (2013-09-06 12:13:02 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/23809007/1
7 years, 3 months ago (2013-09-06 12:15:24 UTC) #4
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 13:30:51 UTC) #5
Message was sent while issue was closed.
Change committed as 157366

Powered by Google App Engine
This is Rietveld 408576698