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

Side by Side Diff: third_party/WebKit/Source/core/style/NinePieceImage.cpp

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv ed.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 22 matching lines...) Expand all
33 if (!data->get()) 33 if (!data->get())
34 data->init(); 34 data->init();
35 return *data; 35 return *data;
36 } 36 }
37 37
38 NinePieceImage::NinePieceImage() 38 NinePieceImage::NinePieceImage()
39 : m_data(defaultData()) 39 : m_data(defaultData())
40 { 40 {
41 } 41 }
42 42
43 NinePieceImage::NinePieceImage(PassRefPtrWillBeRawPtr<StyleImage> image, LengthB ox imageSlices, bool fill, const BorderImageLengthBox& borderSlices, const Borde rImageLengthBox& outset, ENinePieceImageRule horizontalRule, ENinePieceImageRule verticalRule) 43 NinePieceImage::NinePieceImage(RawPtr<StyleImage> image, LengthBox imageSlices, bool fill, const BorderImageLengthBox& borderSlices, const BorderImageLengthBox& outset, ENinePieceImageRule horizontalRule, ENinePieceImageRule verticalRule)
44 { 44 {
45 m_data.init(); 45 m_data.init();
46 m_data.access()->image = image; 46 m_data.access()->image = image;
47 m_data.access()->imageSlices = imageSlices; 47 m_data.access()->imageSlices = imageSlices;
48 m_data.access()->borderSlices = borderSlices; 48 m_data.access()->borderSlices = borderSlices;
49 m_data.access()->outset = outset; 49 m_data.access()->outset = outset;
50 m_data.access()->fill = fill; 50 m_data.access()->fill = fill;
51 m_data.access()->horizontalRule = horizontalRule; 51 m_data.access()->horizontalRule = horizontalRule;
52 m_data.access()->verticalRule = verticalRule; 52 m_data.access()->verticalRule = verticalRule;
53 } 53 }
(...skipping 26 matching lines...) Expand all
80 return dataEquivalent(image, other.image) 80 return dataEquivalent(image, other.image)
81 && imageSlices == other.imageSlices 81 && imageSlices == other.imageSlices
82 && fill == other.fill 82 && fill == other.fill
83 && borderSlices == other.borderSlices 83 && borderSlices == other.borderSlices
84 && outset == other.outset 84 && outset == other.outset
85 && horizontalRule == other.horizontalRule 85 && horizontalRule == other.horizontalRule
86 && verticalRule == other.verticalRule; 86 && verticalRule == other.verticalRule;
87 } 87 }
88 88
89 } // namespace blink 89 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/NinePieceImage.h ('k') | third_party/WebKit/Source/core/style/ShapeValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698