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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSImageSetValue.cpp

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 21 matching lines...) Expand all
32 #include "core/frame/Settings.h" 32 #include "core/frame/Settings.h"
33 #include "core/loader/resource/ImageResourceContent.h" 33 #include "core/loader/resource/ImageResourceContent.h"
34 #include "core/style/StyleFetchedImageSet.h" 34 #include "core/style/StyleFetchedImageSet.h"
35 #include "core/style/StyleInvalidImage.h" 35 #include "core/style/StyleInvalidImage.h"
36 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" 36 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
37 #include "platform/loader/fetch/FetchParameters.h" 37 #include "platform/loader/fetch/FetchParameters.h"
38 #include "platform/loader/fetch/ResourceFetcher.h" 38 #include "platform/loader/fetch/ResourceFetcher.h"
39 #include "platform/loader/fetch/ResourceLoaderOptions.h" 39 #include "platform/loader/fetch/ResourceLoaderOptions.h"
40 #include "platform/weborigin/KURL.h" 40 #include "platform/weborigin/KURL.h"
41 #include "platform/weborigin/SecurityPolicy.h" 41 #include "platform/weborigin/SecurityPolicy.h"
42 #include "wtf/text/StringBuilder.h" 42 #include "platform/wtf/text/StringBuilder.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 CSSImageSetValue::CSSImageSetValue() 46 CSSImageSetValue::CSSImageSetValue()
47 : CSSValueList(kImageSetClass, kCommaSeparator), cached_scale_factor_(1) {} 47 : CSSValueList(kImageSetClass, kCommaSeparator), cached_scale_factor_(1) {}
48 48
49 CSSImageSetValue::~CSSImageSetValue() {} 49 CSSImageSetValue::~CSSImageSetValue() {}
50 50
51 void CSSImageSetValue::FillImageSet() { 51 void CSSImageSetValue::FillImageSet() {
52 size_t length = this->length(); 52 size_t length = this->length();
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 CSSImageSetValue* CSSImageSetValue::ValueWithURLsMadeAbsolute() { 182 CSSImageSetValue* CSSImageSetValue::ValueWithURLsMadeAbsolute() {
183 CSSImageSetValue* value = CSSImageSetValue::Create(); 183 CSSImageSetValue* value = CSSImageSetValue::Create();
184 for (auto& item : *this) 184 for (auto& item : *this)
185 item->IsImageValue() 185 item->IsImageValue()
186 ? value->Append(*ToCSSImageValue(*item).ValueWithURLMadeAbsolute()) 186 ? value->Append(*ToCSSImageValue(*item).ValueWithURLMadeAbsolute())
187 : value->Append(*item); 187 : value->Append(*item);
188 return value; 188 return value;
189 } 189 }
190 190
191 } // namespace blink 191 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSImageSetValue.h ('k') | third_party/WebKit/Source/core/css/CSSImageValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698