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

Side by Side Diff: third_party/WebKit/Source/core/css/MediaValuesDynamic.h

Issue 2417973002: Removed incorrect comment about raw pointer. (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MediaValuesDynamic_h 5 #ifndef MediaValuesDynamic_h
6 #define MediaValuesDynamic_h 6 #define MediaValuesDynamic_h
7 7
8 #include "core/css/MediaValues.h" 8 #include "core/css/MediaValues.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 DECLARE_VIRTUAL_TRACE(); 45 DECLARE_VIRTUAL_TRACE();
46 46
47 protected: 47 protected:
48 MediaValuesDynamic(LocalFrame*); 48 MediaValuesDynamic(LocalFrame*);
49 MediaValuesDynamic(LocalFrame*, 49 MediaValuesDynamic(LocalFrame*,
50 bool overriddenViewportDimensions, 50 bool overriddenViewportDimensions,
51 double viewportWidth, 51 double viewportWidth,
52 double viewportHeight); 52 double viewportHeight);
53 53
54 // This raw ptr is safe, as MediaValues would not outlive MediaQueryEvaluator,
55 // and MediaQueryEvaluator is reset on |Document::detachLayoutTree|.
56 Member<LocalFrame> m_frame; 54 Member<LocalFrame> m_frame;
57 bool m_viewportDimensionsOverridden; 55 bool m_viewportDimensionsOverridden;
58 double m_viewportWidthOverride; 56 double m_viewportWidthOverride;
59 double m_viewportHeightOverride; 57 double m_viewportHeightOverride;
60 }; 58 };
61 59
62 } // namespace blink 60 } // namespace blink
63 61
64 #endif // MediaValuesDynamic_h 62 #endif // MediaValuesDynamic_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698