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

Unified Diff: Source/core/rendering/RenderQuote.h

Issue 15093007: Shrink RenderQuote.o by 134K (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | Source/core/rendering/RenderQuote.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderQuote.h
diff --git a/Source/core/rendering/RenderQuote.h b/Source/core/rendering/RenderQuote.h
index 3bd608b8b9957a4c089f546ce14086d68db210bc..0686b83e3f559f1e459ab5e394e7e852d1b021e3 100644
--- a/Source/core/rendering/RenderQuote.h
+++ b/Source/core/rendering/RenderQuote.h
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2011 Nokia Inc. All rights reserved.
* Copyright (C) 2012 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -23,17 +24,12 @@
#define RenderQuote_h
#include "core/rendering/RenderText.h"
-#include "core/rendering/style/QuotesData.h"
-#include "core/rendering/style/RenderStyle.h"
-#include "core/rendering/style/RenderStyleConstants.h"
namespace WebCore {
-class Document;
-
class RenderQuote FINAL : public RenderText {
public:
- RenderQuote(Document*, const QuoteType);
+ RenderQuote(Document*, QuoteType);
virtual ~RenderQuote();
void attachQuote();
@@ -41,21 +37,19 @@ private:
void detachQuote();
virtual void willBeDestroyed() OVERRIDE;
- virtual const char* renderName() const OVERRIDE { return "RenderQuote"; };
+ virtual const char* renderName() const OVERRIDE { return "RenderQuote"; }
virtual bool isQuote() const OVERRIDE { return true; };
virtual PassRefPtr<StringImpl> originalText() const OVERRIDE;
virtual void styleDidChange(StyleDifference, const RenderStyle*) OVERRIDE;
virtual void willBeRemovedFromTree() OVERRIDE;
- const QuotesData* quotesData() const;
void updateDepth();
- bool isAttached() { return m_attached; }
QuoteType m_type;
int m_depth;
RenderQuote* m_next;
RenderQuote* m_previous;
- bool m_attached;
+ bool m_isAttached;
};
inline RenderQuote* toRenderQuote(RenderObject* object)
« no previous file with comments | « no previous file | Source/core/rendering/RenderQuote.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698