| OLD | NEW |
| 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 #include "core/css/MediaValues.h" | 5 #include "core/css/MediaValues.h" |
| 6 | 6 |
| 7 #include "core/css/CSSHelper.h" | 7 #include "core/css/CSSHelper.h" |
| 8 #include "core/css/MediaValuesCached.h" | 8 #include "core/css/MediaValuesCached.h" |
| 9 #include "core/css/MediaValuesDynamic.h" | 9 #include "core/css/MediaValuesDynamic.h" |
| 10 #include "core/dom/Document.h" | 10 #include "core/dom/Document.h" |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 return true; | 216 return true; |
| 217 } | 217 } |
| 218 | 218 |
| 219 LocalFrame* MediaValues::frameFrom(Document& document) | 219 LocalFrame* MediaValues::frameFrom(Document& document) |
| 220 { | 220 { |
| 221 Document* executingDocument = document.importsController() ? document.import
sController()->master() : &document; | 221 Document* executingDocument = document.importsController() ? document.import
sController()->master() : &document; |
| 222 ASSERT(executingDocument); | 222 ASSERT(executingDocument); |
| 223 return executingDocument->frame(); | 223 return executingDocument->frame(); |
| 224 } | 224 } |
| 225 | 225 |
| 226 } // namespace | 226 } // namespace blink |
| OLD | NEW |