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

Unified Diff: Source/core/dom/NodeRenderingContext.h

Issue 15027005: [CSS Regions] Elements in a region should be assignable to a named flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Integrates all feedback. One of the tests causes an ASSERT in ContentShell because of Region Ranges. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/NodeRenderingContext.h
diff --git a/Source/core/dom/NodeRenderingContext.h b/Source/core/dom/NodeRenderingContext.h
index c0e0c9d012a4dfb2d31632d15d8efa6489d316f7..71a78fc281a944fda9027e830f46391a46459896 100644
--- a/Source/core/dom/NodeRenderingContext.h
+++ b/Source/core/dom/NodeRenderingContext.h
@@ -68,14 +68,16 @@ public:
private:
bool shouldCreateRenderer() const;
+ bool shouldMoveToFlowThread() const;
+ void moveToFlowThread();
void moveToFlowThreadIfNeeded();
+ PassRefPtr<RenderStyle> getStyleForRenderer() const;
esprehn 2013/06/17 21:41:02 styleForRenderer(). Methods shouldn't be prefixed
Node* m_node;
ContainerNode* m_renderingParent;
NodeRenderingTraversal::ParentDetails m_parentDetails;
- RefPtr<RenderStyle> m_style;
+ mutable RefPtr<RenderStyle> m_style; // Cache of node's styleForRenderer.
RenderNamedFlowThread* m_parentFlowRenderer;
- AtomicString m_flowThread;
};
inline Node* NodeRenderingContext::node() const

Powered by Google App Engine
This is Rietveld 408576698