| Index: Source/core/editing/FormatBlockCommand.cpp
|
| diff --git a/Source/core/editing/FormatBlockCommand.cpp b/Source/core/editing/FormatBlockCommand.cpp
|
| index ff6b7a5fe7583429fa5832d09f47189f76563ac6..ecc7e9845f6397e24014940996c39367b91fc675 100644
|
| --- a/Source/core/editing/FormatBlockCommand.cpp
|
| +++ b/Source/core/editing/FormatBlockCommand.cpp
|
| @@ -20,7 +20,7 @@
|
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| #include "config.h"
|
| @@ -44,7 +44,7 @@ static inline bool isElementForFormatBlock(Node* node)
|
| return node->isElementNode() && isElementForFormatBlock(toElement(node)->tagQName());
|
| }
|
|
|
| -FormatBlockCommand::FormatBlockCommand(Document* document, const QualifiedName& tagName)
|
| +FormatBlockCommand::FormatBlockCommand(Document* document, const QualifiedName& tagName)
|
| : ApplyBlockElementCommand(document, tagName)
|
| , m_didApply(false)
|
| {
|
| @@ -94,7 +94,7 @@ void FormatBlockCommand::formatRange(const Position& start, const Position& end,
|
| if (wasEndOfParagraph && !isEndOfParagraph(lastParagraphInBlockNode) && !isStartOfParagraph(lastParagraphInBlockNode))
|
| insertBlockPlaceholder(lastParagraphInBlockNode);
|
| }
|
| -
|
| +
|
| Element* FormatBlockCommand::elementForFormatBlockCommand(Range* range)
|
| {
|
| if (!range)
|
|
|