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

Side by Side Diff: Source/core/xml/XPathExpressionNode.cpp

Issue 26763004: Vector stores Expression object as OwnPtr instead of raw pointer in XPath. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change XPathGrammar.y also Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright 2005 Frerich Raabe <raabe@kde.org> 2 * Copyright 2005 Frerich Raabe <raabe@kde.org>
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 30 matching lines...) Expand all
41 41
42 Expression::Expression() 42 Expression::Expression()
43 : m_isContextNodeSensitive(false) 43 : m_isContextNodeSensitive(false)
44 , m_isContextPositionSensitive(false) 44 , m_isContextPositionSensitive(false)
45 , m_isContextSizeSensitive(false) 45 , m_isContextSizeSensitive(false)
46 { 46 {
47 } 47 }
48 48
49 Expression::~Expression() 49 Expression::~Expression()
50 { 50 {
51 deleteAllValues(m_subExpressions);
52 } 51 }
53 52
54 } 53 }
55 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698