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

Side by Side Diff: Source/core/inspector/InspectorStyleSheet.cpp

Issue 665093002: Oilpan:fix build after r183981. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google 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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 bool InspectorStyleSheetBase::getStyleText(const InspectorCSSId& id, String* tex t) 875 bool InspectorStyleSheetBase::getStyleText(const InspectorCSSId& id, String* tex t)
876 { 876 {
877 RefPtrWillBeRawPtr<InspectorStyle> inspectorStyle = inspectorStyleForId(id); 877 RefPtrWillBeRawPtr<InspectorStyle> inspectorStyle = inspectorStyleForId(id);
878 if (!inspectorStyle) 878 if (!inspectorStyle)
879 return false; 879 return false;
880 return inspectorStyle->styleText(text); 880 return inspectorStyle->styleText(text);
881 } 881 }
882 882
883 void InspectorStyleSheetBase::onStyleSheetTextChanged() 883 void InspectorStyleSheetBase::onStyleSheetTextChanged()
884 { 884 {
885 m_lineEndings = adoptPtrWillBeNoop(new LineEndings()); 885 m_lineEndings = adoptPtr(new LineEndings());
886 if (listener()) 886 if (listener())
887 listener()->styleSheetChanged(this); 887 listener()->styleSheetChanged(this);
888 } 888 }
889 889
890 PassRefPtr<TypeBuilder::CSS::CSSStyle> InspectorStyleSheetBase::buildObjectForSt yle(CSSStyleDeclaration* style) 890 PassRefPtr<TypeBuilder::CSS::CSSStyle> InspectorStyleSheetBase::buildObjectForSt yle(CSSStyleDeclaration* style)
891 { 891 {
892 RefPtrWillBeRawPtr<CSSRuleSourceData> sourceData = nullptr; 892 RefPtrWillBeRawPtr<CSSRuleSourceData> sourceData = nullptr;
893 if (ensureParsedDataReady()) 893 if (ensureParsedDataReady())
894 sourceData = ruleSourceDataAt(styleId(style).ordinal()); 894 sourceData = ruleSourceDataAt(styleId(style).ordinal());
895 895
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1861 1861
1862 void InspectorStyleSheetForInlineStyle::trace(Visitor* visitor) 1862 void InspectorStyleSheetForInlineStyle::trace(Visitor* visitor)
1863 { 1863 {
1864 visitor->trace(m_element); 1864 visitor->trace(m_element);
1865 visitor->trace(m_ruleSourceData); 1865 visitor->trace(m_ruleSourceData);
1866 visitor->trace(m_inspectorStyle); 1866 visitor->trace(m_inspectorStyle);
1867 InspectorStyleSheetBase::trace(visitor); 1867 InspectorStyleSheetBase::trace(visitor);
1868 } 1868 }
1869 1869
1870 } // namespace blink 1870 } // namespace blink
1871
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